aristidescc commited on
Commit
0232a9f
·
verified ·
1 Parent(s): a494d91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,6 @@
1
  from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
  import datetime
 
3
  import spacy
4
  import requests
5
  import pytz
@@ -77,6 +78,7 @@ model = HfApiModel(
77
  max_tokens=2096,
78
  temperature=0.5,
79
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
 
80
  custom_role_conversions=None,
81
  )
82
 
 
1
  from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
  import datetime
3
+ import os
4
  import spacy
5
  import requests
6
  import pytz
 
78
  max_tokens=2096,
79
  temperature=0.5,
80
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
81
+ token=os.getenv("HF_TOKEN"),
82
  custom_role_conversions=None,
83
  )
84