Spaces:
Paused
Paused
Rename app.py to src/app.py
Browse files- app.py → src/app.py +1 -1
app.py → src/app.py
RENAMED
|
@@ -21,7 +21,7 @@ app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
|
| 21 |
|
| 22 |
@app.get("/")
|
| 23 |
def index() -> FileResponse:
|
| 24 |
-
return FileResponse(path="/
|
| 25 |
|
| 26 |
## line-6
|
| 27 |
#dataset = load_dataset('glue', 'mrpc')
|
|
|
|
| 21 |
|
| 22 |
@app.get("/")
|
| 23 |
def index() -> FileResponse:
|
| 24 |
+
return FileResponse(path="/static/index.html", media_type="text/html")
|
| 25 |
|
| 26 |
## line-6
|
| 27 |
#dataset = load_dataset('glue', 'mrpc')
|