JoeSos commited on
Commit
59820d6
·
verified ·
1 Parent(s): 2b0df6b

Update app.py

Browse files

Changed back to the Qwen/Qwen2.5-Omni-7B model. I was getting an unknown error before.

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ final_answer = FinalAnswerTool()
53
  model = HfApiModel(
54
  max_tokens=2096,
55
  temperature=0.5,
56
- model_id='deepseek-ai/DeepSeek-V3-0324',# it is possible that this model may be overloaded
57
  custom_role_conversions=None,
58
  )
59
 
@@ -66,7 +66,7 @@ with open("prompts.yaml", 'r') as stream:
66
 
67
  agent = CodeAgent(
68
  model=model,
69
- tools=[final_answer, get_current_time_in_timezone,fetch_weather,calculator], ## add your tools here (don't remove final answer)
70
  max_steps=6,
71
  verbosity_level=1,
72
  grammar=None,
 
53
  model = HfApiModel(
54
  max_tokens=2096,
55
  temperature=0.5,
56
+ model_id='Qwen/Qwen2.5-Omni-7B',# it is possible that this model may be overloaded
57
  custom_role_conversions=None,
58
  )
59
 
 
66
 
67
  agent = CodeAgent(
68
  model=model,
69
+ tools=[final_answer, get_current_time_in_timezone, fetch_weather, calculator], ## add your tools here (don't remove final answer)
70
  max_steps=6,
71
  verbosity_level=1,
72
  grammar=None,