allenpark commited on
Commit
68fe1ac
·
verified ·
1 Parent(s): 57cf6db

misspelled return variable (json_st -> json_str)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 json_st
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):