Spaces:
Running
Running
kothariyashhh
commited on
Update app.py
Browse files
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
|