ariG23498 HF Staff commited on
Commit
739032a
·
verified ·
1 Parent(s): 0b07875

Upload PaddlePaddle_PaddleOCR-VL_0.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. PaddlePaddle_PaddleOCR-VL_0.py +3 -2
PaddlePaddle_PaddleOCR-VL_0.py CHANGED
@@ -33,7 +33,8 @@ 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('```CODE:
 
37
  # See https://www.paddleocr.ai/latest/version3.x/pipeline_usage/PaddleOCR-VL.html to installation
38
 
39
  from paddleocr import PaddleOCRVL
@@ -45,7 +46,7 @@ for res in output:
45
  res.save_to_markdown(save_path="output")
46
  ```
47
  ERROR:
48
- ')
49
  traceback.print_exc(file=f)
50
 
51
  finally:
 
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
 
46
  res.save_to_markdown(save_path="output")
47
  ```
48
  ERROR:
49
+ ''')
50
  traceback.print_exc(file=f)
51
 
52
  finally: