imaginarycrayon423 commited on
Commit
6455b8e
·
verified ·
1 Parent(s): 79cc332

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -51,7 +51,7 @@ final_answer = FinalAnswerTool()
51
  model = HfApiModel(
52
  max_tokens=2096,
53
  temperature=0.5,
54
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
55
  custom_role_conversions=None,
56
  token=os.getenv('API_KEY')
57
  )
@@ -65,7 +65,7 @@ with open("prompts.yaml", 'r') as stream:
65
 
66
  agent = CodeAgent(
67
  model=model,
68
- tools=[final_answer], ## add your tools here (don't remove final answer)
69
  max_steps=6,
70
  verbosity_level=1,
71
  grammar=None,
 
51
  model = HfApiModel(
52
  max_tokens=2096,
53
  temperature=0.5,
54
+ model_id='NousResearch/Hermes-2-Pro-Llama-3-8B',# it is possible that this model may be overloaded
55
  custom_role_conversions=None,
56
  token=os.getenv('API_KEY')
57
  )
 
65
 
66
  agent = CodeAgent(
67
  model=model,
68
+ tools=[final_answer, get_weather_in_france], ## add your tools here (don't remove final answer)
69
  max_steps=6,
70
  verbosity_level=1,
71
  grammar=None,