pragnakalp
commited on
Commit
•
215fdd6
1
Parent(s):
6d52112
Update app.py
Browse files
app.py
CHANGED
@@ -99,8 +99,8 @@ def generate_ocr(Method,img):
|
|
99 |
Create user interface for OCR demo
|
100 |
"""
|
101 |
|
102 |
-
image = gr.Image(shape=(300, 300))
|
103 |
-
|
104 |
method = gr.Radio(["PaddleOCR","EasyOCR", "KerasOCR"],value="PaddleOCR")
|
105 |
output = gr.Textbox(label="Output")
|
106 |
|
|
|
99 |
Create user interface for OCR demo
|
100 |
"""
|
101 |
|
102 |
+
# image = gr.Image(shape=(300, 300))
|
103 |
+
image = gr.Image()
|
104 |
method = gr.Radio(["PaddleOCR","EasyOCR", "KerasOCR"],value="PaddleOCR")
|
105 |
output = gr.Textbox(label="Output")
|
106 |
|