Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,12 +104,12 @@ final_answer = FinalAnswerTool()
|
|
| 104 |
|
| 105 |
|
| 106 |
# 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:
|
| 107 |
-
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 108 |
|
| 109 |
model = HfApiModel(
|
| 110 |
max_tokens=2096,
|
| 111 |
temperature=0.5,
|
| 112 |
-
|
| 113 |
custom_role_conversions=None,
|
| 114 |
)
|
| 115 |
|
|
|
|
| 104 |
|
| 105 |
|
| 106 |
# 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:
|
| 107 |
+
#model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 108 |
|
| 109 |
model = HfApiModel(
|
| 110 |
max_tokens=2096,
|
| 111 |
temperature=0.5,
|
| 112 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 113 |
custom_role_conversions=None,
|
| 114 |
)
|
| 115 |
|