Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def initialize_agent(endpoint_uri: str):
|
|
| 38 |
verbosity_level=5,
|
| 39 |
name="content_agent",
|
| 40 |
description="Evaluates whether text is polite or impolite.",
|
| 41 |
-
prompt_templates=
|
| 42 |
additional_authorized_imports=["pytz"],
|
| 43 |
stream_outputs=True
|
| 44 |
)
|
|
|
|
| 38 |
verbosity_level=5,
|
| 39 |
name="content_agent",
|
| 40 |
description="Evaluates whether text is polite or impolite.",
|
| 41 |
+
prompt_templates=prompt_templates, # override prompts
|
| 42 |
additional_authorized_imports=["pytz"],
|
| 43 |
stream_outputs=True
|
| 44 |
)
|