not-lain commited on
Commit
d2ae61e
·
1 Parent(s): 59e60e9

change field names

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def sanitize_list_of_lists(text: str) -> Optional[List[List]]:
118
  try:
119
  # parse list of lists
120
  for front, back in list_of_lists:
121
- out.append({"front": front, "back": back})
122
  return out
123
  # errors
124
  except Exception as e:
 
118
  try:
119
  # parse list of lists
120
  for front, back in list_of_lists:
121
+ out.append({"frontText": front, "backText": back})
122
  return out
123
  # errors
124
  except Exception as e: