Spaces:
Runtime error
Runtime error
Update qabot.py
Browse files
qabot.py
CHANGED
|
@@ -15,9 +15,11 @@ from huggingface_hub import hf_hub_download
|
|
| 15 |
# repo_id="Pudding48/TinyLLamaTest",
|
| 16 |
# filename="tinyllama-1.1b-chat-v1.0.Q8_0.gguf",
|
| 17 |
# )
|
|
|
|
|
|
|
| 18 |
|
| 19 |
model_file = hf_hub_download(
|
| 20 |
-
repo_id="Pudding48/TinyLlamaTest",
|
| 21 |
filename="tinyllama-1.1b-chat-v1.0.Q8_0.gguf"
|
| 22 |
)
|
| 23 |
|
|
|
|
| 15 |
# repo_id="Pudding48/TinyLLamaTest",
|
| 16 |
# filename="tinyllama-1.1b-chat-v1.0.Q8_0.gguf",
|
| 17 |
# )
|
| 18 |
+
import os
|
| 19 |
+
os.environ["HF_HOME"] = "/home/user/app/hf_cache"
|
| 20 |
|
| 21 |
model_file = hf_hub_download(
|
| 22 |
+
repo_id="Pudding48/TinyLlamaTest",
|
| 23 |
filename="tinyllama-1.1b-chat-v1.0.Q8_0.gguf"
|
| 24 |
)
|
| 25 |
|