Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import os
|
2 |
-
#
|
3 |
-
|
|
|
4 |
from paddleocr import PaddleOCR, draw_ocr
|
5 |
from PIL import Image
|
6 |
import gradio as gr
|
|
|
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
|
6 |
from PIL import Image
|
7 |
import gradio as gr
|