akki2825 commited on
Commit
192bdfc
·
verified ·
1 Parent(s): 5b8cc91

change token setting

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -11,8 +11,6 @@ import gradio as gr
11
  from huggingface_hub import hf_hub_download
12
 
13
 
14
- huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
15
-
16
  hf_hub_download(
17
  repo_id="bartowski/gemma-2-9b-it-GGUF",
18
  filename="gemma-2-9b-it-Q5_K_M.gguf",
@@ -28,8 +26,7 @@ hf_hub_download(
28
  hf_hub_download(
29
  repo_id="google/gemma-2-2b-it-GGUF",
30
  filename="2b_it_v2.gguf",
31
- local_dir="./models",
32
- token=huggingface_token
33
  )
34
 
35
 
 
11
  from huggingface_hub import hf_hub_download
12
 
13
 
 
 
14
  hf_hub_download(
15
  repo_id="bartowski/gemma-2-9b-it-GGUF",
16
  filename="gemma-2-9b-it-Q5_K_M.gguf",
 
26
  hf_hub_download(
27
  repo_id="google/gemma-2-2b-it-GGUF",
28
  filename="2b_it_v2.gguf",
29
+ local_dir="./models"
 
30
  )
31
 
32