Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -198,9 +198,9 @@ def get_pca(image: str, max_size: int = 1024) -> str:
|
|
| 198 |
@app.get("/", response_class=HTMLResponse)
|
| 199 |
async def index(request: Request):
|
| 200 |
return templates.TemplateResponse(
|
|
|
|
| 201 |
"index.html",
|
| 202 |
{
|
| 203 |
-
"request": request,
|
| 204 |
"num_tags": model.num_tags,
|
| 205 |
"vocab_path": _VOCAB_PATH,
|
| 206 |
"category_meta": CATEGORY_META,
|
|
|
|
| 198 |
@app.get("/", response_class=HTMLResponse)
|
| 199 |
async def index(request: Request):
|
| 200 |
return templates.TemplateResponse(
|
| 201 |
+
request,
|
| 202 |
"index.html",
|
| 203 |
{
|
|
|
|
| 204 |
"num_tags": model.num_tags,
|
| 205 |
"vocab_path": _VOCAB_PATH,
|
| 206 |
"category_meta": CATEGORY_META,
|