Spaces:
Runtime error
Runtime error
Commit
·
48bfb35
1
Parent(s):
66598b9
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
import cv2
|
4 |
import numpy as np
|
5 |
from PIL import Image
|
6 |
-
from paddleocr import PPStructure,save_structure_res
|
7 |
from paddleocr.ppstructure.recovery.recovery_to_doc import sorted_layout_boxes, convert_info_docx
|
8 |
|
9 |
# Chinese image
|
|
|
3 |
import cv2
|
4 |
import numpy as np
|
5 |
from PIL import Image
|
6 |
+
from paddleocr import PPStructure, save_structure_res, draw_structure_result
|
7 |
from paddleocr.ppstructure.recovery.recovery_to_doc import sorted_layout_boxes, convert_info_docx
|
8 |
|
9 |
# Chinese image
|