Spaces:
Runtime error
Runtime error
Commit
·
4d118e8
1
Parent(s):
4c7c8c4
Update ImaText.py
Browse files- ImaText.py +1 -1
ImaText.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.Image(
|
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(file="file", label="Upload Image"),
|
18 |
outputs="text",
|
19 |
title="OCR APP ",
|
20 |
description="Upload an image and we'll extract the text for you.",
|