GPQAPP
1from fastapi import APIRouter2from fastapi import Request3from fastapi.staticfiles import StaticFiles4from fastapi.responses import HTMLResponse5
6from utils.templatet import templates7
8router = APIRouter(9
10tags=["chose_ml"]11)
12
13@router.get("/", response_class=HTMLResponse)14def get_page(request: Request):15return templates.TemplateResponse(request=request, name="base.html",)16
17@router.get("/dashboard", response_class=HTMLResponse)18def get_page(request: Request):19return templates.TemplateResponse(request=request, name="dashboard.html",)