Spaces:
Runtime error
Runtime error
test: poppler path
Browse files
main.py
CHANGED
|
@@ -127,8 +127,8 @@ app.mount("/", StaticFiles(directory="static", html=True), name="static")
|
|
| 127 |
|
| 128 |
@app.get("/")
|
| 129 |
def index() -> FileResponse:
|
| 130 |
-
return FileResponse(path="/app/static/index.html", media_type="text/html")
|
| 131 |
-
|
| 132 |
|
| 133 |
|
| 134 |
|
|
|
|
| 127 |
|
| 128 |
@app.get("/")
|
| 129 |
def index() -> FileResponse:
|
| 130 |
+
#return FileResponse(path="/app/static/index.html", media_type="text/html")
|
| 131 |
+
return os.getcwd()
|
| 132 |
|
| 133 |
|
| 134 |
|