hardknee commited on
Commit
fb7600e
·
verified ·
1 Parent(s): dbfe66f

Update app.py

Browse files

Switching to suggested model id as no agent response

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,12 +50,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
50
  final_answer = FinalAnswerTool()
51
 
52
  # 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:
53
- # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
54
 
55
  model = HfApiModel(
56
  max_tokens=2096,
57
  temperature=0.5,
58
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
59
  custom_role_conversions=None,
60
  )
61
 
 
50
  final_answer = FinalAnswerTool()
51
 
52
  # 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:
53
+ # model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
54
 
55
  model = HfApiModel(
56
  max_tokens=2096,
57
  temperature=0.5,
58
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud' ,
59
  custom_role_conversions=None,
60
  )
61