yetessam commited on
Commit
92c493e
·
verified ·
1 Parent(s): 2f3a48b

Update tools/polite_guard.py

Browse files
Files changed (1) hide show
  1. tools/polite_guard.py +1 -0
tools/polite_guard.py CHANGED
@@ -15,6 +15,7 @@ class PoliteGuardTool(Tool):
15
 
16
  def forward(self, input_text: Any) -> Any:
17
  self.label = self.ask_polite_guard(input_text)
 
18
  return self.label
19
 
20
  def __init__(self, *args, **kwargs):
 
15
 
16
  def forward(self, input_text: Any) -> Any:
17
  self.label = self.ask_polite_guard(input_text)
18
+ return "offensive"
19
  return self.label
20
 
21
  def __init__(self, *args, **kwargs):