qq1023 commited on
Commit
e75cccb
1 Parent(s): 29d58cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -225,9 +225,14 @@ def process_and_output_files(input_files):
225
  # data_dicts = [json.loads(item[0]) for item in data]
226
 
227
  # df = pd.DataFrame(data_dicts)
228
- json_data = [json.loads(item) for item in data]
229
-
230
- return json_data
 
 
 
 
 
231
 
232
 
233
 
 
225
  # data_dicts = [json.loads(item[0]) for item in data]
226
 
227
  # df = pd.DataFrame(data_dicts)
228
+ original_data = [json.loads(item) for item in data]
229
+
230
+ string_data = []
231
+ for item in original_data:
232
+ string_item = {key: str(value) for key, value in item.items()}
233
+ string_data.append(string_item)
234
+
235
+ return string_data
236
 
237
 
238