Update app.py
Browse files
app.py
CHANGED
@@ -202,7 +202,7 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
202 |
agent = CodeAgent(model=llm_model,
|
203 |
tools=[web_structure_analyzer_tool, summarizer_tool, table_extractor_tool, get_wiki_section_tool, image_content_describer_tool, audio_transcriber_tool, url_code_reader_tool, wiki_tool, search_tool, python_tool, html_parse_tool],
|
204 |
prompt_templates=my_prompt_templates,
|
205 |
-
max_steps=
|
206 |
add_base_tools=True,
|
207 |
additional_authorized_imports=["dateparser", "bs4", "regex"])
|
208 |
except Exception as e:
|
|
|
202 |
agent = CodeAgent(model=llm_model,
|
203 |
tools=[web_structure_analyzer_tool, summarizer_tool, table_extractor_tool, get_wiki_section_tool, image_content_describer_tool, audio_transcriber_tool, url_code_reader_tool, wiki_tool, search_tool, python_tool, html_parse_tool],
|
204 |
prompt_templates=my_prompt_templates,
|
205 |
+
max_steps=10,
|
206 |
add_base_tools=True,
|
207 |
additional_authorized_imports=["dateparser", "bs4", "regex"])
|
208 |
except Exception as e:
|