Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -41,7 +41,7 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
|
|
| 41 |
# Load system prompt from prompt.yaml file
|
| 42 |
with open("prompts.yaml", 'r') as stream:
|
| 43 |
prompt_templates = yaml.safe_load(stream)
|
| 44 |
-
|
| 45 |
agent = CodeAgent(
|
| 46 |
model=model,
|
| 47 |
tools=[final_answer], # add your tools here (don't remove final_answer)
|
|
|
|
| 41 |
# Load system prompt from prompt.yaml file
|
| 42 |
with open("prompts.yaml", 'r') as stream:
|
| 43 |
prompt_templates = yaml.safe_load(stream)
|
| 44 |
+
|
| 45 |
agent = CodeAgent(
|
| 46 |
model=model,
|
| 47 |
tools=[final_answer], # add your tools here (don't remove final_answer)
|