Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,8 +69,8 @@ webSearch = web_search_DuckDuckGoSearchTool()
|
|
| 69 |
# video_translation = AudioTranscriptionTool()
|
| 70 |
# youtube_download = YouTubeAudioDownloadTool()
|
| 71 |
|
| 72 |
-
with open("prompts.yaml", 'r') as stream:
|
| 73 |
-
|
| 74 |
|
| 75 |
#Agent
|
| 76 |
agent_codeagent = CodeAgent(
|
|
@@ -81,8 +81,8 @@ agent_codeagent = CodeAgent(
|
|
| 81 |
grammar=None,
|
| 82 |
planning_interval=None,
|
| 83 |
name=None,
|
| 84 |
-
description=None
|
| 85 |
-
prompt_templates=prompt_templates
|
| 86 |
)
|
| 87 |
|
| 88 |
# Gradio handler that runs the agent
|
|
|
|
| 69 |
# video_translation = AudioTranscriptionTool()
|
| 70 |
# youtube_download = YouTubeAudioDownloadTool()
|
| 71 |
|
| 72 |
+
# with open("prompts.yaml", 'r') as stream:
|
| 73 |
+
# prompt_templates = yaml.safe_load(stream)
|
| 74 |
|
| 75 |
#Agent
|
| 76 |
agent_codeagent = CodeAgent(
|
|
|
|
| 81 |
grammar=None,
|
| 82 |
planning_interval=None,
|
| 83 |
name=None,
|
| 84 |
+
description=None
|
| 85 |
+
#prompt_templates=prompt_templates
|
| 86 |
)
|
| 87 |
|
| 88 |
# Gradio handler that runs the agent
|