Spaces:
Runtime error
Runtime error
Update modules/app.py
Browse files- 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 |
-
|
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("/")
|