Aivis commited on
Commit
e2c2543
·
verified ·
1 Parent(s): 4950a19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -76,7 +76,8 @@ final_answer = FinalAnswerTool()
76
  model = HfApiModel(
77
  max_tokens=2096,
78
  temperature=0.5,
79
- model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
 
80
  custom_role_conversions=None,
81
  )
82
 
@@ -89,7 +90,7 @@ with open("prompts.yaml", 'r') as stream:
89
 
90
  agent = CodeAgent(
91
  model=model,
92
- tools=[get_song_lyrics, get_random_fact, final_answer], ## add your tools here (don't remove final answer)
93
  max_steps=6,
94
  verbosity_level=1,
95
  grammar=None,
 
76
  model = HfApiModel(
77
  max_tokens=2096,
78
  temperature=0.5,
79
+ #model_id='https://wxknx1kg971u7k1n.us-east-1.aws.endpoints.huggingface.cloud',# it is possible that this model may be overloaded
80
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
81
  custom_role_conversions=None,
82
  )
83
 
 
90
 
91
  agent = CodeAgent(
92
  model=model,
93
+ tools=[get_song_lyrics, get_random_fact, get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)
94
  max_steps=6,
95
  verbosity_level=1,
96
  grammar=None,