yetessam commited on
Commit
9dce3ef
·
verified ·
1 Parent(s): 8643744

Update tools/polite_guard.py

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