segestic commited on
Commit
e8e9661
1 Parent(s): 5573e77

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +3 -2
modules/app.py CHANGED
@@ -14,9 +14,10 @@ from modules.dataset import query_emotion
14
  # https://huggingface.co/spaces/{username}/{space}/settings
15
  API_TOKEN = os.getenv("BIG_GAN_TOKEN")
16
 
17
- app = FastAPI(docs_url=None, redoc_url=None)
 
18
 
19
- #app.mount("/static", StaticFiles(directory="static"), name="static")
20
 
21
 
22
  @app.head("/")
 
14
  # https://huggingface.co/spaces/{username}/{space}/settings
15
  API_TOKEN = os.getenv("BIG_GAN_TOKEN")
16
 
17
+ #app = FastAPI(docs_url=None, redoc_url=None)
18
+ app = FastAPI()
19
 
20
+ app.mount("/static", StaticFiles(directory="static"), name="static")
21
 
22
 
23
  @app.head("/")