antmontieri commited on
Commit
f30ae19
·
verified ·
1 Parent(s): 3db0874

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -90,13 +90,15 @@ def fetch_page_text(url: str) -> str:
90
  # web_search = WebSearchTool()
91
  final_answer = FinalAnswerTool()
92
 
 
 
93
  # 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:
94
- # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
95
 
96
  model = HfApiModel(
97
  max_tokens=2096,
98
  temperature=0.5,
99
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
100
  custom_role_conversions=None,
101
  )
102
 
 
90
  # web_search = WebSearchTool()
91
  final_answer = FinalAnswerTool()
92
 
93
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct'
94
+
95
  # 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:
96
+ # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
97
 
98
  model = HfApiModel(
99
  max_tokens=2096,
100
  temperature=0.5,
101
+ model_id=model_id,# it is possible that this model may be overloaded
102
  custom_role_conversions=None,
103
  )
104