Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,11 +23,11 @@ def my_custom_tool(arg1: str, arg2: int) -> str: #it's import to specify the ret
|
|
| 23 |
|
| 24 |
# Model init
|
| 25 |
# 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:
|
| 26 |
-
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 27 |
|
| 28 |
model = InferenceClientModel(
|
| 29 |
-
model_id=model_id,
|
| 30 |
-
|
| 31 |
max_tokens=2096,
|
| 32 |
temperature=0.5,
|
| 33 |
provider="auto",
|
|
|
|
| 23 |
|
| 24 |
# Model init
|
| 25 |
# 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:
|
| 26 |
+
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 27 |
|
| 28 |
model = InferenceClientModel(
|
| 29 |
+
# model_id=model_id,
|
| 30 |
+
model_name='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 31 |
max_tokens=2096,
|
| 32 |
temperature=0.5,
|
| 33 |
provider="auto",
|