warhawkmonk commited on
Commit
b31ef15
·
verified ·
1 Parent(s): dd32433

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- 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
 
 
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