Spaces:
Sleeping
Sleeping
ikram
commited on
Commit
·
1e4a65e
1
Parent(s):
ffda1f9
message
Browse files- app.py +1 -1
- {static → templates}/index.html +0 -0
app.py
CHANGED
|
@@ -263,5 +263,5 @@ async def question_answering_image(question: str = Form(...), image_file: Upload
|
|
| 263 |
# Serve the application in Hugging Face space
|
| 264 |
@app.get("/docs")
|
| 265 |
async def get_docs(request: Request):
|
| 266 |
-
return templates.TemplateResponse("
|
| 267 |
|
|
|
|
| 263 |
# Serve the application in Hugging Face space
|
| 264 |
@app.get("/docs")
|
| 265 |
async def get_docs(request: Request):
|
| 266 |
+
return templates.TemplateResponse("index.html", {"request": request})
|
| 267 |
|
{static → templates}/index.html
RENAMED
|
File without changes
|