Spaces:
Running
Running
downgrade paddle to 2.4.2 until 2.5.2 release
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
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
|
|
|
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
|