Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
import os
|
2 |
# TODO: Is it possible to put these into requirements.txt?
|
|
|
|
|
3 |
os.system('pip install paddlepaddle')
|
4 |
os.system('pip install paddleocr')
|
5 |
from paddleocr import PaddleOCR, draw_ocr
|
|
|
1 |
import os
|
2 |
# TODO: Is it possible to put these into requirements.txt?
|
3 |
+
os.system('wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb')
|
4 |
+
os.system('sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb')
|
5 |
os.system('pip install paddlepaddle')
|
6 |
os.system('pip install paddleocr')
|
7 |
from paddleocr import PaddleOCR, draw_ocr
|