Update src/qa.py
Browse files
src/qa.py
CHANGED
|
@@ -16,7 +16,7 @@ from vectorstore import search_faiss
|
|
| 16 |
print("✅ qa.py loaded from:", __file__)
|
| 17 |
|
| 18 |
# ==========================================================
|
| 19 |
-
# 1️⃣ Hugging Face Cache Setup (Safe for Spaces)
|
| 20 |
# ==========================================================
|
| 21 |
CACHE_DIR = "/tmp/hf_cache"
|
| 22 |
os.makedirs(CACHE_DIR, exist_ok=True)
|
|
|
|
| 16 |
print("✅ qa.py loaded from:", __file__)
|
| 17 |
|
| 18 |
# ==========================================================
|
| 19 |
+
# 1️⃣ Hugging Face Cache Setup (Safe for Spaces) :)
|
| 20 |
# ==========================================================
|
| 21 |
CACHE_DIR = "/tmp/hf_cache"
|
| 22 |
os.makedirs(CACHE_DIR, exist_ok=True)
|