Samuel L Meyers commited on
Commit
ecd2bcd
·
1 Parent(s): 80bb17c

Use hf_hub_download properly

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,9 +29,9 @@ from huggingface_hub import hf_hub_download
29
 
30
  model_path = "minichat-3b.q8_0.gguf"
31
 
32
- hf_hub_download(repo_id="afrideva/MiniChat-3B-GGUF", filename=model_path)
33
 
34
- lcpp_model = Model(model_path=model_path)
35
 
36
  def m3b_talk(text):
37
  resp = ""
 
29
 
30
  model_path = "minichat-3b.q8_0.gguf"
31
 
32
+ mdlpath = hf_hub_download(repo_id="afrideva/MiniChat-3B-GGUF", filename=model_path)
33
 
34
+ lcpp_model = Model(model_path=mdlpath)
35
 
36
  def m3b_talk(text):
37
  resp = ""