Lu032145 commited on
Commit
06ddaa9
·
verified ·
1 Parent(s): 92c72cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
  import datetime
3
  from tools.final_answer import FinalAnswerTool
4
 
@@ -10,8 +10,7 @@ generate_prompts = TextTool(
10
  name="generate_prompts",
11
  description="Generate multiple creative prompts for a given product and audience.",
12
  instructions_template="Generate 3 creative prompts for a marketing campaign about {topic}. Audience: {audience}. Style: {style}.",
13
- output_parser=lambda x: x
14
-
15
 
16
 
17
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
 
1
+ from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool
2
  import datetime
3
  from tools.final_answer import FinalAnswerTool
4
 
 
10
  name="generate_prompts",
11
  description="Generate multiple creative prompts for a given product and audience.",
12
  instructions_template="Generate 3 creative prompts for a marketing campaign about {topic}. Audience: {audience}. Style: {style}.",
13
+ output_parser=lambda x: x
 
14
 
15
 
16
  # Below is an example of a tool that does nothing. Amaze us with your creativity !