Spaces:
Sleeping
Sleeping
Commit
·
dbe1ec7
1
Parent(s):
124b1d7
Add application file
Browse files
main.py
CHANGED
|
@@ -4,6 +4,9 @@ import chromadb
|
|
| 4 |
from chromadb.utils import embedding_functions
|
| 5 |
from utils import GAMES_DICT
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
app = fastapi.FastAPI()
|
| 8 |
|
| 9 |
app.add_middleware(
|
|
|
|
| 4 |
from chromadb.utils import embedding_functions
|
| 5 |
from utils import GAMES_DICT
|
| 6 |
|
| 7 |
+
import os
|
| 8 |
+
os.environ['TRANSFORMERS_CACHE'] = 'cache/'
|
| 9 |
+
|
| 10 |
app = fastapi.FastAPI()
|
| 11 |
|
| 12 |
app.add_middleware(
|