Update main.py
Browse files
main.py
CHANGED
|
@@ -200,7 +200,7 @@ async def process_video_url(video_url: str):
|
|
| 200 |
|
| 201 |
@app.get("/", response_class=HTMLResponse)
|
| 202 |
async def index(request: Request):
|
| 203 |
-
return templates.TemplateResponse("index.html", {"
|
| 204 |
|
| 205 |
@app.get("/stats")
|
| 206 |
async def get_stats():
|
|
|
|
| 200 |
|
| 201 |
@app.get("/", response_class=HTMLResponse)
|
| 202 |
async def index(request: Request):
|
| 203 |
+
return templates.TemplateResponse(request=request, name="index.html", context={"status": processing_status})
|
| 204 |
|
| 205 |
@app.get("/stats")
|
| 206 |
async def get_stats():
|