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