Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,8 +54,7 @@ def summarize_text_tool(text:str)-> str:
|
|
| 54 |
}
|
| 55 |
]
|
| 56 |
response = client.chat.completions.create(
|
| 57 |
-
|
| 58 |
-
model="https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud",
|
| 59 |
messages=messages,
|
| 60 |
max_tokens=500
|
| 61 |
)
|
|
@@ -81,8 +80,7 @@ def helper_text_tool(text:str)-> str:
|
|
| 81 |
}
|
| 82 |
]
|
| 83 |
response = client.chat.completions.create(
|
| 84 |
-
|
| 85 |
-
model="https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud",
|
| 86 |
messages=messages,
|
| 87 |
max_tokens=500
|
| 88 |
)
|
|
@@ -99,8 +97,7 @@ visit_webpage = VisitWebpageTool()
|
|
| 99 |
model = HfApiModel(
|
| 100 |
max_tokens=2096,
|
| 101 |
temperature=0.5,
|
| 102 |
-
|
| 103 |
-
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud',
|
| 104 |
custom_role_conversions=None,
|
| 105 |
)
|
| 106 |
|
|
|
|
| 54 |
}
|
| 55 |
]
|
| 56 |
response = client.chat.completions.create(
|
| 57 |
+
model="Qwen/Qwen2.5-Coder-32B-Instruct",
|
|
|
|
| 58 |
messages=messages,
|
| 59 |
max_tokens=500
|
| 60 |
)
|
|
|
|
| 80 |
}
|
| 81 |
]
|
| 82 |
response = client.chat.completions.create(
|
| 83 |
+
model="Qwen/Qwen2.5-Coder-32B-Instruct",
|
|
|
|
| 84 |
messages=messages,
|
| 85 |
max_tokens=500
|
| 86 |
)
|
|
|
|
| 97 |
model = HfApiModel(
|
| 98 |
max_tokens=2096,
|
| 99 |
temperature=0.5,
|
| 100 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
|
|
|
| 101 |
custom_role_conversions=None,
|
| 102 |
)
|
| 103 |
|