andreagemelli
commited on
Commit
·
9ef7cb6
1
Parent(s):
2514316
changing qwen endpoint
Browse files
app.py
CHANGED
@@ -27,12 +27,12 @@ def grandma_secret_sauce(url: str) -> str:
|
|
27 |
final_answer = FinalAnswerTool()
|
28 |
|
29 |
# 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:
|
30 |
-
|
31 |
|
32 |
model = HfApiModel(
|
33 |
max_tokens=2096,
|
34 |
temperature=0.5,
|
35 |
-
model_id=
|
36 |
custom_role_conversions=None,
|
37 |
)
|
38 |
|
|
|
27 |
final_answer = FinalAnswerTool()
|
28 |
|
29 |
# 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:
|
30 |
+
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
31 |
|
32 |
model = HfApiModel(
|
33 |
max_tokens=2096,
|
34 |
temperature=0.5,
|
35 |
+
model_id=model_id,
|
36 |
custom_role_conversions=None,
|
37 |
)
|
38 |
|