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