Princeaka commited on
Commit
2a927ff
·
verified ·
1 Parent(s): 0933f3e

Update backend/multimodal_module.py

Browse files
Files changed (1) hide show
  1. backend/multimodal_module.py +0 -5
backend/multimodal_module.py CHANGED
@@ -684,7 +684,6 @@ class SuperAgentV7:
684
  # --------------------------
685
  if FASTAPI_AVAILABLE:
686
  from fastapi.security import OAuth2PasswordBearer
687
- from fastapi.staticfiles import StaticFiles
688
  from jose import JWTError, jwt
689
  from passlib.context import CryptContext
690
  from fastapi import Form, HTTPException, Depends, Request, Query, Header
@@ -902,10 +901,6 @@ if FASTAPI_AVAILABLE:
902
  allow_headers=["*"],
903
  )
904
 
905
- # Serve public assets
906
- PUBLIC_DIR = Path(__file__).parent / "public"
907
- app.mount("/assets", StaticFiles(directory=PUBLIC_DIR), name="assets")
908
-
909
  # Initialize agent and database
910
  AGENT = SuperAgentV7()
911
  DB = LocalDBWithUsers(DATA_DIR / "multimodular_v9.db")
 
684
  # --------------------------
685
  if FASTAPI_AVAILABLE:
686
  from fastapi.security import OAuth2PasswordBearer
 
687
  from jose import JWTError, jwt
688
  from passlib.context import CryptContext
689
  from fastapi import Form, HTTPException, Depends, Request, Query, Header
 
901
  allow_headers=["*"],
902
  )
903
 
 
 
 
 
904
  # Initialize agent and database
905
  AGENT = SuperAgentV7()
906
  DB = LocalDBWithUsers(DATA_DIR / "multimodular_v9.db")