Spaces:
Sleeping
Sleeping
Reverting changes
Browse files
app.py
CHANGED
@@ -79,7 +79,6 @@ custom_role_conversions=None,
|
|
79 |
|
80 |
# Import tool from Hub
|
81 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
82 |
-
python_code_generator_in_jupyter_notebook = load_tool("data-agents/jupyter-agent", trust_remote_code=True)
|
83 |
|
84 |
|
85 |
|
@@ -88,7 +87,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
88 |
|
89 |
agent = CodeAgent(
|
90 |
model=model,
|
91 |
-
tools=[final_answer,arxiv_fetch_paper_tool,image_generation_tool
|
92 |
max_steps=6,
|
93 |
verbosity_level=1,
|
94 |
grammar=None,
|
|
|
79 |
|
80 |
# Import tool from Hub
|
81 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
82 |
|
83 |
|
84 |
|
|
|
87 |
|
88 |
agent = CodeAgent(
|
89 |
model=model,
|
90 |
+
tools=[final_answer,arxiv_fetch_paper_tool,image_generation_tool], ## add your tools here (don't remove final answer)
|
91 |
max_steps=6,
|
92 |
verbosity_level=1,
|
93 |
grammar=None,
|