Spaces:
Sleeping
Sleeping
Update app.py
Browse filesSwitching to suggested model id as no agent response
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='
|
54 |
|
55 |
model = HfApiModel(
|
56 |
max_tokens=2096,
|
57 |
temperature=0.5,
|
58 |
-
model_id='
|
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 |
|