not-lain commited on
Commit
339b0e9
·
1 Parent(s): f1e0680

fix missing return

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -126,6 +126,7 @@ def parse_MCQs(mcq_string: str) -> List[List[str]]:
126
  mcq_string = "[" + mcq_string.split("[", 1)[1]
127
  json_data = mcq_string.rsplit("]", 1)[0] + "]"
128
  json_data = json.loads(json_data)
 
129
 
130
 
131
  mcqs_to_json = gr.Interface(
 
126
  mcq_string = "[" + mcq_string.split("[", 1)[1]
127
  json_data = mcq_string.rsplit("]", 1)[0] + "]"
128
  json_data = json.loads(json_data)
129
+ return json_data
130
 
131
 
132
  mcqs_to_json = gr.Interface(