happyday1 commited on
Commit
8e35615
·
verified ·
1 Parent(s): 9ccefb1

Update app.py

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