Spaces:
Sleeping
Sleeping
misspelled return variable (json_st -> json_str)
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def clean_json_string(json_str):
|
|
93 |
# Add quotes around PASS or FAIL if they're not already quoted
|
94 |
json_str = re.sub(r'"SCORE":\s*(PASS|FAIL)', r'"SCORE": "\1"', json_str)
|
95 |
|
96 |
-
return
|
97 |
|
98 |
# @spaces.GPU()
|
99 |
# def model_call(question, document, answer, tokenizer, model):
|
|
|
93 |
# Add quotes around PASS or FAIL if they're not already quoted
|
94 |
json_str = re.sub(r'"SCORE":\s*(PASS|FAIL)', r'"SCORE": "\1"', json_str)
|
95 |
|
96 |
+
return json_str
|
97 |
|
98 |
# @spaces.GPU()
|
99 |
# def model_call(question, document, answer, tokenizer, model):
|