bkoz commited on
Commit
030372e
·
unverified ·
1 Parent(s): 72add46

added model download

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -16,9 +16,10 @@ def download_model():
16
  REPO_ID = "TheBloke/Llama-2-7B-GGUF"
17
  FILENAME = "llama-2-7b.Q5_K_S.gguf"
18
 
19
- print(f'Downloading model {REPO_ID}{FILENAME}')
20
- hf_hub_download(repo_id=REPO_ID, filename=FILENAME)
21
-
 
22
  def load_model():
23
  from llama_cpp import Llama, LlamaGrammar
24
  model_file="llama-2-7b.Q5_K_S.gguf"
 
16
  REPO_ID = "TheBloke/Llama-2-7B-GGUF"
17
  FILENAME = "llama-2-7b.Q5_K_S.gguf"
18
 
19
+ print(f'Downloading model {REPO_ID}/{FILENAME}')
20
+ m = hf_hub_download(repo_id=REPO_ID, filename=FILENAME)
21
+ print(m)
22
+
23
  def load_model():
24
  from llama_cpp import Llama, LlamaGrammar
25
  model_file="llama-2-7b.Q5_K_S.gguf"