Spaces:
Runtime error
Runtime error
Commit
·
1a0ec43
1
Parent(s):
12a3b60
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.Image(
|
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(numpy="file", label="Upload Image"),
|
17 |
outputs="text",
|
18 |
title="OCR APP ",
|
19 |
description="Upload an image and we'll extract the text for you.",
|