Pudding48 commited on
Commit
3d61420
·
verified ·
1 Parent(s): 86f8928

Update qabot.py

Browse files
Files changed (1) hide show
  1. qabot.py +3 -1
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", # 🟢 This must be a model repo, not a Space
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