lvwerra HF staff commited on
Commit
8c4290e
1 Parent(s): 7d6a2e6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ theme = gr.themes.Monochrome(
70
  )
71
 
72
  client = Client(
73
- API_URL, #headers={"Authorization": f"Bearer {HF_TOKEN}"},
74
  )
75
 
76
  def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, chat_mode=False):
 
70
  )
71
 
72
  client = Client(
73
+ API_URL, headers={"Authorization": f"Bearer {HF_TOKEN}"},
74
  )
75
 
76
  def generate(prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, chat_mode=False):