Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -18,4 +18,4 @@ app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
|
| 18 |
|
| 19 |
@app.get("/")
|
| 20 |
def index() -> FileResponse:
|
| 21 |
-
return FileResponse(path="/
|
|
|
|
| 18 |
|
| 19 |
@app.get("/")
|
| 20 |
def index() -> FileResponse:
|
| 21 |
+
return FileResponse(path="/static/index.html", media_type="text/html")
|