Spaces:
Runtime error
Runtime error
ffreemt
commited on
Commit
•
9d730e7
1
Parent(s):
98a002e
Update
Browse files
app.py
CHANGED
@@ -36,7 +36,8 @@ LLM = None
|
|
36 |
|
37 |
if "forindo" in platform.node():
|
38 |
# url = "https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGML/blob/main/llama-2-70b-guanaco-qlora.ggmlv3.q3_K_S.bin" # 29.7G
|
39 |
-
model_loc = "/home/mu2018/github/langchain-llama-2-70b-guanaco-qlora-ggml/llama-2-70b-guanaco-qlora.ggmlv3.q3_K_S.bin"
|
|
|
40 |
else:
|
41 |
try:
|
42 |
model_loc, file_size = dl_hf_model(url)
|
|
|
36 |
|
37 |
if "forindo" in platform.node():
|
38 |
# url = "https://huggingface.co/TheBloke/llama-2-70b-Guanaco-QLoRA-GGML/blob/main/llama-2-70b-guanaco-qlora.ggmlv3.q3_K_S.bin" # 29.7G
|
39 |
+
model_loc = "/home/mu2018/github/langchain-llama-2-70b-guanaco-qlora-ggml/models/llama-2-70b-guanaco-qlora.ggmlv3.q3_K_S.bin"
|
40 |
+
assert Path(model_loc).exists(), f"Make sure {model_loc=} exists."
|
41 |
else:
|
42 |
try:
|
43 |
model_loc, file_size = dl_hf_model(url)
|