Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
import os
|
8 |
import zipfile
|
9 |
import tempfile # ✅ Add this!
|
10 |
-
|
11 |
os.environ["HF_HOME"] = "/tmp/hf_cache"
|
12 |
os.makedirs("/tmp/hf_cache", exist_ok=True)
|
13 |
|
|
|
7 |
import os
|
8 |
import zipfile
|
9 |
import tempfile # ✅ Add this!
|
10 |
+
from fastapi import FastAPI, Query
|
11 |
os.environ["HF_HOME"] = "/tmp/hf_cache"
|
12 |
os.makedirs("/tmp/hf_cache", exist_ok=True)
|
13 |
|