Spaces:
Sleeping
Sleeping
Update server/app.py
Browse files- server/app.py +1 -1
server/app.py
CHANGED
|
@@ -26,7 +26,7 @@ app = FastAPI(
|
|
| 26 |
)
|
| 27 |
|
| 28 |
# Mount static files for the demo UI
|
| 29 |
-
static_dir = os.path.join(os.path.dirname(__file__), "static")
|
| 30 |
if os.path.exists(static_dir):
|
| 31 |
app.mount("/static", StaticFiles(directory=static_dir), name="static")
|
| 32 |
|
|
|
|
| 26 |
)
|
| 27 |
|
| 28 |
# Mount static files for the demo UI
|
| 29 |
+
static_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), "static")
|
| 30 |
if os.path.exists(static_dir):
|
| 31 |
app.mount("/static", StaticFiles(directory=static_dir), name="static")
|
| 32 |
|