Spaces:
Build error
Build error
fix indentation
Browse files
app.py
CHANGED
|
@@ -35,14 +35,13 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
| 35 |
|
| 36 |
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
-
|
| 39 |
max_tokens=2096,
|
| 40 |
temperature=0.5,
|
| 41 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 42 |
custom_role_conversions=None,
|
| 43 |
)
|
| 44 |
|
| 45 |
-
|
| 46 |
# Import tool from Hub
|
| 47 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 48 |
|
|
|
|
| 35 |
|
| 36 |
|
| 37 |
final_answer = FinalAnswerTool()
|
| 38 |
+
model = InferenceClientModel(
|
| 39 |
max_tokens=2096,
|
| 40 |
temperature=0.5,
|
| 41 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
|
| 42 |
custom_role_conversions=None,
|
| 43 |
)
|
| 44 |
|
|
|
|
| 45 |
# Import tool from Hub
|
| 46 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 47 |
|