Spaces:
Sleeping
Sleeping
Update app.py
Browse filesfixed haiku search tool error
app.py
CHANGED
|
@@ -43,6 +43,14 @@ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may
|
|
| 43 |
custom_role_conversions=None,
|
| 44 |
)
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
# Import tool from Hub
|
| 48 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
|
| 43 |
custom_role_conversions=None,
|
| 44 |
)
|
| 45 |
|
| 46 |
+
haiku_answer = HaikuAnswerTool()
|
| 47 |
+
mode = HfApiModel(
|
| 48 |
+
max_tokens=2096,
|
| 49 |
+
temperature=0.5,
|
| 50 |
+
model_id='Quen/Quen2.5-Coder-32B-Instruct',
|
| 51 |
+
custom_role_conversations=True,
|
| 52 |
+
)
|
| 53 |
+
|
| 54 |
|
| 55 |
# Import tool from Hub
|
| 56 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|