suprabhatdas commited on
Commit
3cdc5d6
·
verified ·
1 Parent(s): 8953d67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -260,14 +260,6 @@ image_generation_tool = load_tool(
260
 
261
  search_tool = DuckDuckGoSearchTool()
262
 
263
- # ---------------------------------------------------
264
- # LOAD PROMPTS
265
- # ---------------------------------------------------
266
-
267
- with open("prompts.yaml", "r") as stream:
268
- prompt_templates = yaml.safe_load(stream)
269
-
270
-
271
  # ---------------------------------------------------
272
  # CREATE AGENT
273
  # ---------------------------------------------------
@@ -291,8 +283,7 @@ agent = CodeAgent(
291
  max_steps=6,
292
  verbosity_level=1,
293
  name="SmartAI-Agent",
294
- description="An AI agent capable of search, weather lookup, crypto prices, calculations, reading PDFs, generating images, and web browsing.",
295
- prompt_templates=prompt_templates
296
  )
297
 
298
 
 
260
 
261
  search_tool = DuckDuckGoSearchTool()
262
 
 
 
 
 
 
 
 
 
263
  # ---------------------------------------------------
264
  # CREATE AGENT
265
  # ---------------------------------------------------
 
283
  max_steps=6,
284
  verbosity_level=1,
285
  name="SmartAI-Agent",
286
+ description="An AI agent capable of search, weather lookup, crypto prices, calculations, reading PDFs, generating images, and web browsing."
 
287
  )
288
 
289