Spaces:
Paused
Paused
Update main.py
#3
by
InnoLink
- opened
main.py
CHANGED
|
@@ -14,6 +14,7 @@ def t5(input):
|
|
| 14 |
return {"output": output[0]["generated_text"]}
|
| 15 |
|
| 16 |
app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
|
|
|
| 17 |
|
| 18 |
@app.get("/")
|
| 19 |
def index() -> FileResponse:
|
|
|
|
| 14 |
return {"output": output[0]["generated_text"]}
|
| 15 |
|
| 16 |
app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
| 17 |
+
app.mount("/static", StaticFiles(directory="static"), name="static")
|
| 18 |
|
| 19 |
@app.get("/")
|
| 20 |
def index() -> FileResponse:
|