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