kothariyashhh commited on
Commit
dedeb8b
·
verified ·
1 Parent(s): 458bd3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import os
 
 
 
2
  from paddleocr import PaddleOCR, draw_ocr
3
  from PIL import Image
4
  import gradio as gr
 
1
  import os
2
+ os.system('pip install paddlepaddle==2.4.2')
3
+ # os.system('pip install paddlepaddle==0.0.0 -f https://www.paddlepaddle.org.cn/whl/linux/cpu-mkl/develop.html')
4
+ os.system('pip install paddleocr')
5
  from paddleocr import PaddleOCR, draw_ocr
6
  from PIL import Image
7
  import gradio as gr