Spaces:
Runtime error
Runtime error
Update app.py
Browse filesSwitched model due to overload!
app.py
CHANGED
|
@@ -109,12 +109,13 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 109 |
final_answer = FinalAnswerTool()
|
| 110 |
|
| 111 |
# 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:
|
| 112 |
-
|
| 113 |
|
| 114 |
model = HfApiModel(
|
| 115 |
max_tokens=2096,
|
| 116 |
temperature=0.5,
|
| 117 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
|
|
|
| 118 |
custom_role_conversions=None,
|
| 119 |
)
|
| 120 |
|
|
|
|
| 109 |
final_answer = FinalAnswerTool()
|
| 110 |
|
| 111 |
# 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:
|
| 112 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 113 |
|
| 114 |
model = HfApiModel(
|
| 115 |
max_tokens=2096,
|
| 116 |
temperature=0.5,
|
| 117 |
+
# model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 118 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 119 |
custom_role_conversions=None,
|
| 120 |
)
|
| 121 |
|