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