nickzf commited on
Commit
997ebad
·
verified ·
1 Parent(s): 4ef0aa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,6 +3,7 @@ import datetime
3
  import requests
4
  import pytz
5
  import yaml
 
6
  from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
@@ -60,6 +61,7 @@ model = HfApiModel(
60
  max_tokens=2096,
61
  temperature=0.5,
62
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
 
63
  custom_role_conversions=None,
64
  )
65
 
 
3
  import requests
4
  import pytz
5
  import yaml
6
+ import os
7
  from tools.final_answer import FinalAnswerTool
8
 
9
  from Gradio_UI import GradioUI
 
61
  max_tokens=2096,
62
  temperature=0.5,
63
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
64
+ token=os.gentenv("HF_TOKEN")
65
  custom_role_conversions=None,
66
  )
67