Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
import uuid
|
8 |
from googletrans import Translator
|
9 |
|
10 |
-
|
11 |
app = FastAPI()
|
12 |
|
13 |
# 🎯 Hugging Face Pipelines
|
|
|
7 |
import uuid
|
8 |
from googletrans import Translator
|
9 |
|
10 |
+
os.environ["HF_HOME"] = "/app/.cache/huggingface"
|
11 |
app = FastAPI()
|
12 |
|
13 |
# 🎯 Hugging Face Pipelines
|