Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -134,7 +134,7 @@ def generate_ocr_text(method, image):
|
|
| 134 |
"""
|
| 135 |
Create user interface for OCR demo
|
| 136 |
"""
|
| 137 |
-
image_input = gr.Image(label="Upload Image", type="numpy"
|
| 138 |
output_textbox = gr.Textbox(label="Recognized Text", lines=5, placeholder="OCR results will appear here...")
|
| 139 |
|
| 140 |
demo = gr.Interface(
|
|
|
|
| 134 |
"""
|
| 135 |
Create user interface for OCR demo
|
| 136 |
"""
|
| 137 |
+
image_input = gr.Image(label="Upload Image", type="numpy")
|
| 138 |
output_textbox = gr.Textbox(label="Recognized Text", lines=5, placeholder="OCR results will appear here...")
|
| 139 |
|
| 140 |
demo = gr.Interface(
|