Yusufarsh commited on
Commit
f7dee34
·
verified ·
1 Parent(s): fa295e5

Update server/app.py

Browse files
Files changed (1) hide show
  1. 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