Lyte commited on
Commit
562ba5d
1 Parent(s): 3f93878

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -2,14 +2,14 @@ import os
2
  import gradio as gr
3
  from llama_cpp import Llama
4
  from huggingface_hub import hf_hub_download, login
5
- import os
6
 
7
- login(os.getenv("HF_TOKEN"))
8
 
9
  model = Llama(
10
  model_path=hf_hub_download(
11
- repo_id=os.environ.get("REPO_ID", "Lyte/HuatuoGPT-o1-7B-Q4_K_M-GGUF"),
12
- filename=os.environ.get("MODEL_FILE", "huatuogpt-o1-7b-q4_k_m.gguf"),
13
  )
14
  )
15
 
 
2
  import gradio as gr
3
  from llama_cpp import Llama
4
  from huggingface_hub import hf_hub_download, login
5
+ #import os
6
 
7
+ #login(os.getenv("HF_TOKEN")) my bad now its public
8
 
9
  model = Llama(
10
  model_path=hf_hub_download(
11
+ repo_id=os.environ.get("REPO_ID", "mradermacher/HuatuoGPT-o1-7B-GGUF"),
12
+ filename=os.environ.get("MODEL_FILE", "HuatuoGPT-o1-7B.Q4_K_M.gguf"),
13
  )
14
  )
15