Upload PaddlePaddle_PaddleOCR-VL_0.py with huggingface_hub
Browse files
PaddlePaddle_PaddleOCR-VL_0.py
CHANGED
|
@@ -33,8 +33,7 @@ except Exception as e:
|
|
| 33 |
|
| 34 |
with open('PaddlePaddle_PaddleOCR-VL_0.txt', 'a', encoding='utf-8') as f:
|
| 35 |
import traceback
|
| 36 |
-
f.write('''
|
| 37 |
-
```CODE:
|
| 38 |
# See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation
|
| 39 |
|
| 40 |
from paddleocr import PaddleOCRVL
|
|
@@ -45,6 +44,7 @@ for res in output:
|
|
| 45 |
res.save_to_json(save_path="output")
|
| 46 |
res.save_to_markdown(save_path="output")
|
| 47 |
```
|
|
|
|
| 48 |
ERROR:
|
| 49 |
''')
|
| 50 |
traceback.print_exc(file=f)
|
|
|
|
| 33 |
|
| 34 |
with open('PaddlePaddle_PaddleOCR-VL_0.txt', 'a', encoding='utf-8') as f:
|
| 35 |
import traceback
|
| 36 |
+
f.write('''```CODE:
|
|
|
|
| 37 |
# See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation
|
| 38 |
|
| 39 |
from paddleocr import PaddleOCRVL
|
|
|
|
| 44 |
res.save_to_json(save_path="output")
|
| 45 |
res.save_to_markdown(save_path="output")
|
| 46 |
```
|
| 47 |
+
|
| 48 |
ERROR:
|
| 49 |
''')
|
| 50 |
traceback.print_exc(file=f)
|