Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ Create user interface for OCR demo
|
|
126 |
"""
|
127 |
|
128 |
# image = gr.Image(shape=(300, 300))
|
129 |
-
image = gr.Image
|
130 |
method = gr.Radio(["PaddleOCR","EasyOCR", "KerasOCR", "tesseract"],value="PaddleOCR")
|
131 |
output = gr.Textbox(label="Output")
|
132 |
|
|
|
126 |
"""
|
127 |
|
128 |
# image = gr.Image(shape=(300, 300))
|
129 |
+
image = gr.File(label="Upload PDF/Image")
|
130 |
method = gr.Radio(["PaddleOCR","EasyOCR", "KerasOCR", "tesseract"],value="PaddleOCR")
|
131 |
output = gr.Textbox(label="Output")
|
132 |
|