Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,13 +38,6 @@ temperature=0.5,
|
|
| 38 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 39 |
custom_role_conversions=None,
|
| 40 |
)
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
# Import tool from Hub
|
| 44 |
-
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
| 45 |
-
|
| 46 |
-
with open("prompts.yaml", 'r') as stream:
|
| 47 |
-
prompt_templates = yaml.safe_load(stream)
|
| 48 |
|
| 49 |
agent = CodeAgent(
|
| 50 |
model=model,
|
|
|
|
| 38 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 39 |
custom_role_conversions=None,
|
| 40 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
agent = CodeAgent(
|
| 43 |
model=model,
|