Spaces:
Sleeping
Sleeping
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
|
@@ -326,7 +326,7 @@ def create_toxicity_checker(llm):
|
|
| 326 |
return toxicity_grader
|
| 327 |
|
| 328 |
|
| 329 |
-
def grade_question_toxicity(state):
|
| 330 |
"""
|
| 331 |
Grades the question for toxicity.
|
| 332 |
|
|
|
|
| 326 |
return toxicity_grader
|
| 327 |
|
| 328 |
|
| 329 |
+
def grade_question_toxicity(state, toxicity_grader):
|
| 330 |
"""
|
| 331 |
Grades the question for toxicity.
|
| 332 |
|