Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -227,16 +227,22 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 227 |
final_answer = FinalAnswerTool()
|
| 228 |
|
| 229 |
# AI Model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 230 |
model = InferenceClientModel(
|
| 231 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 232 |
temperature=0.5,
|
| 233 |
-
max_output_tokens=2048 # optional, safe alternative
|
| 234 |
)
|
| 235 |
|
| 236 |
|
| 237 |
|
| 238 |
|
| 239 |
|
|
|
|
| 240 |
# Load tool from hub
|
| 241 |
# image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 242 |
|
|
|
|
| 227 |
final_answer = FinalAnswerTool()
|
| 228 |
|
| 229 |
# AI Model
|
| 230 |
+
# model = InferenceClientModel(
|
| 231 |
+
# model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 232 |
+
# temperature=0.5,
|
| 233 |
+
# max_output_tokens=2048 # optional, safe alternative
|
| 234 |
+
# )
|
| 235 |
+
|
| 236 |
model = InferenceClientModel(
|
| 237 |
model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 238 |
temperature=0.5,
|
|
|
|
| 239 |
)
|
| 240 |
|
| 241 |
|
| 242 |
|
| 243 |
|
| 244 |
|
| 245 |
+
|
| 246 |
# Load tool from hub
|
| 247 |
# image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 248 |
|