yetessam commited on
Commit
cee00cf
·
verified ·
1 Parent(s): 73a7ab9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -39,7 +39,8 @@ def initialize_agent(endpoint_uri: str):
39
  description="Evaluates whether text is polite or impolite.",
40
  #prompt_templates=custom_prompts, # override prompts
41
  #instructions = custom_prompts, # adds additional instructions instead of overriding default prompt
42
- additional_authorized_imports=["pytz"]
 
43
  )
44
 
45
  #print_default_prompt_templates( agent )
 
39
  description="Evaluates whether text is polite or impolite.",
40
  #prompt_templates=custom_prompts, # override prompts
41
  #instructions = custom_prompts, # adds additional instructions instead of overriding default prompt
42
+ additional_authorized_imports=["pytz"],
43
+ stream_outputs=True
44
  )
45
 
46
  #print_default_prompt_templates( agent )