RSHVR commited on
Commit
1844c60
·
verified ·
1 Parent(s): f6612c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -12
app.py CHANGED
@@ -114,20 +114,13 @@ def get_current_time_in_timezone(timezone: str) -> str:
114
 
115
 
116
  final_answer = FinalAnswerTool()
117
-
118
- # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
119
- # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
120
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct'# it is possible that this model may be overloaded
121
- # model_id='CohereLabs/c4ai-command-a-03-2025'
122
-
123
- model = HfApiModel(
124
- max_tokens=2096,
125
- temperature=0.5,
126
- model_id=model_id,
127
- custom_role_conversions=None,
128
  )
129
 
130
-
131
  # Import tool from Hub
132
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
133
 
 
114
 
115
 
116
  final_answer = FinalAnswerTool()
117
+ model = HfApiModel(
118
+ max_tokens=2096,
119
+ temperature=0.5,
120
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
121
+ custom_role_conversions=None,
 
 
 
 
 
 
122
  )
123
 
 
124
  # Import tool from Hub
125
  image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
126