ctattevin commited on
Commit
b9085c0
·
verified ·
1 Parent(s): bdd5450

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -55,7 +55,7 @@ model = HfApiModel(
55
  max_tokens=2096,
56
  temperature=0.5,
57
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
58
- custom_role_conversions=None,
59
  )
60
 
61
  # Import tool from Hub
@@ -66,13 +66,13 @@ with open("prompts.yaml", 'r') as stream:
66
 
67
  agent = CodeAgent(
68
  model=model,
69
- tools=[final_answer,image_generation_tool,get_current_time_in_timezone], ## add your tools here (don't remove final answer)
70
  max_steps=6,
71
  verbosity_level=1,
72
- grammar=None,
73
- planning_interval=None,
74
- name=None,
75
- description=None,
76
  prompt_templates=prompt_templates
77
  )
78
 
 
55
  max_tokens=2096,
56
  temperature=0.5,
57
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
58
+ #custom_role_conversions=None,
59
  )
60
 
61
  # Import tool from Hub
 
66
 
67
  agent = CodeAgent(
68
  model=model,
69
+ tools=[final_answer,get_current_time_in_timezone,image_generation_tool], ## add your tools here (don't remove final answer)
70
  max_steps=6,
71
  verbosity_level=1,
72
+ # grammar=None,
73
+ # planning_interval=None,
74
+ # name=None,
75
+ # description=None,
76
  prompt_templates=prompt_templates
77
  )
78