samfred2 commited on
Commit
e37f165
·
verified ·
1 Parent(s): 3dc3878

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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", {"request": request, "status": processing_status})
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():