Spaces:
Running
Running
Update tools/polite_guard.py
Browse files- tools/polite_guard.py +2 -1
tools/polite_guard.py
CHANGED
@@ -17,7 +17,8 @@ class PoliteGuardTool(Tool):
|
|
17 |
"""
|
18 |
|
19 |
name = "polite_guard"
|
20 |
-
description = "Uses Polite guard to classify input text from polite to impolite
|
|
|
21 |
inputs = {'input_text': {'type': 'any', 'description': 'Enter text for assessing whether it is respectful'}}
|
22 |
output_type = "any"
|
23 |
|
|
|
17 |
"""
|
18 |
|
19 |
name = "polite_guard"
|
20 |
+
description = "Uses Polite guard to classify input text from polite to impolite name and it provides a score as well. Anything over .95 should be considered a significant threshold.
|
21 |
+
"
|
22 |
inputs = {'input_text': {'type': 'any', 'description': 'Enter text for assessing whether it is respectful'}}
|
23 |
output_type = "any"
|
24 |
|