Synnove commited on
Commit
f3478d8
·
verified ·
1 Parent(s): c995d04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- prompt_templates = yaml.safe_load(stream)
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