Spaces:
Runtime error
Runtime error
Commit ·
b8e0f00
1
Parent(s): 53943e4
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,11 +13,11 @@ def extract_text_from_image(image):
|
|
| 13 |
# Define Gradio interface
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=extract_text_from_image,
|
| 16 |
-
inputs=gr.Image (
|
| 17 |
outputs="text",
|
| 18 |
title="OCR APP ",
|
| 19 |
description="Upload an image and we'll extract the text for you.",
|
| 20 |
-
|
| 21 |
)
|
| 22 |
|
| 23 |
# Launch Gradio Interface
|
|
|
|
| 13 |
# Define Gradio interface
|
| 14 |
iface = gr.Interface(
|
| 15 |
fn=extract_text_from_image,
|
| 16 |
+
inputs=gr.Image (label="Upload Image"),
|
| 17 |
outputs="text",
|
| 18 |
title="OCR APP ",
|
| 19 |
description="Upload an image and we'll extract the text for you.",
|
| 20 |
+
|
| 21 |
)
|
| 22 |
|
| 23 |
# Launch Gradio Interface
|