Spaces:
Running
Running
| from fastapi import APIRouter | |
| from fastapi.responses import HTMLResponse | |
| from ..utils import read_static | |
| router = APIRouter(include_in_schema=False) | |
| def home(): | |
| return read_static("home.html") | |
| def classify_ui(): | |
| return read_static("index.html") | |
| def batch_ui(): | |
| return read_static("batch.html") | |
| def categories_view(): | |
| return read_static("categories.html") | |