Spaces:
Runtime error
Runtime error
Update qabot.py
Browse files
qabot.py
CHANGED
|
@@ -7,11 +7,6 @@ from langchain_community.vectorstores import FAISS
|
|
| 7 |
|
| 8 |
from huggingface_hub import hf_hub_download
|
| 9 |
|
| 10 |
-
import os
|
| 11 |
-
|
| 12 |
-
# Fix Hugging Face cache path for Docker Spaces
|
| 13 |
-
os.environ["HF_HOME"] = "/home/user/app/hf_cache"
|
| 14 |
-
|
| 15 |
# !pip install llama-cpp-python
|
| 16 |
|
| 17 |
# from llama_cpp import Llama
|
|
|
|
| 7 |
|
| 8 |
from huggingface_hub import hf_hub_download
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# !pip install llama-cpp-python
|
| 11 |
|
| 12 |
# from llama_cpp import Llama
|