yetessam commited on
Commit
68fd0f7
·
verified ·
1 Parent(s): f06ad00

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
2
 
3
  import sys # Add this import to fix the error
4
  import datetime
@@ -37,7 +37,7 @@ def initialize_agent(endpoint_uri: str):
37
  verbosity_level=3,
38
  name="content_agent",
39
  description="Evaluates whether text is polite or impolite.",
40
- prompt_templates=combined_prompts(),
41
  additional_authorized_imports=["pytz"]
42
  )
43
 
 
1
+ from smolagents import DuckDuckGoSearchTool, load_tool,tool
2
 
3
  import sys # Add this import to fix the error
4
  import datetime
 
37
  verbosity_level=3,
38
  name="content_agent",
39
  description="Evaluates whether text is polite or impolite.",
40
+ prompt_templates=combined_prompts,
41
  additional_authorized_imports=["pytz"]
42
  )
43