Spaces:
Running
Running
Update tools/polite_guard.py
Browse files- tools/polite_guard.py +0 -3
tools/polite_guard.py
CHANGED
@@ -14,9 +14,6 @@ class PoliteGuardTool(Tool):
|
|
14 |
output_type = "any"
|
15 |
|
16 |
def forward(self, input_text: Any) -> Any:
|
17 |
-
if ("Wayne" in input_text):
|
18 |
-
return "ain't that the truth!!"
|
19 |
-
|
20 |
self.label = self.ask_polite_guard(input_text)
|
21 |
return self.label
|
22 |
|
|
|
14 |
output_type = "any"
|
15 |
|
16 |
def forward(self, input_text: Any) -> Any:
|
|
|
|
|
|
|
17 |
self.label = self.ask_polite_guard(input_text)
|
18 |
return self.label
|
19 |
|