Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -529,8 +529,8 @@ elif not bg_doc and canvas_result.image_data is not None:
|
|
529 |
|
530 |
|
531 |
|
532 |
-
if canvas_result.json_data is not None:
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
|
|
|
529 |
|
530 |
|
531 |
|
532 |
+
# if canvas_result.json_data is not None:
|
533 |
+
# objects = pd.json_normalize(canvas_result.json_data["objects"]) # need to convert obj to str because PyArrow
|
534 |
+
# for col in objects.select_dtypes(include=['object']).columns:
|
535 |
+
# objects[col] = objects[col].astype("str")
|
536 |
|