GattoNero commited on
Commit
c3ae3ca
·
verified ·
1 Parent(s): 058eb06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -228,7 +228,7 @@ def create_mock_questions():
228
  # img_bytes = img_file.read()
229
  # img_base64 = base64.b64encode(img_bytes).decode("utf-8")
230
 
231
- return [
232
  '''
233
  {
234
  "task_id":"cca530fc-4052-43b2-b130-b30968d8aa44",
@@ -236,12 +236,14 @@ def create_mock_questions():
236
  "Level":"1",
237
  "file_name":"cca530fc-4052-43b2-b130-b30968d8aa44.png"
238
  },
239
- '''
240
- {'task_id': '8e867cd7-cff9-4e6c-867a-ff5ddc2550be',
241
- 'question': 'How many studio albums were published by Mercedes Sosa between 2000 and 2009 (included)? You can use the latest 2022 version of english wikipedia.',
242
- 'Level': '1',
243
- 'file_name': ''
244
- }
 
 
245
  ]
246
 
247
 
 
228
  # img_bytes = img_file.read()
229
  # img_base64 = base64.b64encode(img_bytes).decode("utf-8")
230
 
231
+
232
  '''
233
  {
234
  "task_id":"cca530fc-4052-43b2-b130-b30968d8aa44",
 
236
  "Level":"1",
237
  "file_name":"cca530fc-4052-43b2-b130-b30968d8aa44.png"
238
  },
239
+ '''
240
+
241
+ return [
242
+ {'task_id': '8e867cd7-cff9-4e6c-867a-ff5ddc2550be',
243
+ 'question': 'How many studio albums were published by Mercedes Sosa between 2000 and 2009 (included)? You can use the latest 2022 version of english wikipedia.',
244
+ 'Level': '1',
245
+ 'file_name': ''
246
+ }
247
  ]
248
 
249