Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
229 |
-
|
230 |
-
|
|
|
|
|
|
|
|
|
|
|
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 |
|