change field names
Browse files
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({"
|
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:
|