MoiMoi-01 commited on
Commit
2ace957
·
verified ·
1 Parent(s): e6ad803

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,8 +17,8 @@ print(os.getcwd())
17
  # print("Failed to download. Status code:", response.status_code)
18
 
19
  from llama_cpp import Llama
20
-
21
- model_path = "https://huggingface.co/ngxson/DeepSeek-R1-Distill-Qwen-7B-abliterated-GGUF/resolve/main/DeepSeek-R1-Distill-Qwen-7B-abliterated-Q4_K_M.gguf"
22
 
23
  # Load the model directly from URL
24
  llm = Llama(model_path=model_path)
 
17
  # print("Failed to download. Status code:", response.status_code)
18
 
19
  from llama_cpp import Llama
20
+ url = "https://huggingface.co/ngxson/DeepSeek-R1-Distill-Qwen-7B-abliterated-GGUF/raw/main/DeepSeek-R1-Distill-Qwen-7B-abliterated-Q4_K_M.gguf"
21
+ model_path = url#"https://huggingface.co/ngxson/DeepSeek-R1-Distill-Qwen-7B-abliterated-GGUF/resolve/main/DeepSeek-R1-Distill-Qwen-7B-abliterated-Q4_K_M.gguf"
22
 
23
  # Load the model directly from URL
24
  llm = Llama(model_path=model_path)