Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update modules/app.py
Browse files- modules/app.py +0 -6
modules/app.py
CHANGED
|
@@ -7,12 +7,6 @@ from fastapi import FastAPI
|
|
| 7 |
from fastapi.staticfiles import StaticFiles
|
| 8 |
from fastapi.responses import FileResponse, StreamingResponse
|
| 9 |
|
| 10 |
-
from modules.inference import infer_t5
|
| 11 |
-
from modules.dataset import query_emotion
|
| 12 |
-
|
| 13 |
-
# https://huggingface.co/settings/tokens
|
| 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 |
|
|
|
|
| 7 |
from fastapi.staticfiles import StaticFiles
|
| 8 |
from fastapi.responses import FileResponse, StreamingResponse
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
app = FastAPI(docs_url=None, redoc_url=None)
|
| 12 |
|