Spaces:
Sleeping
Sleeping
happypoppy
commited on
Commit
•
a0cfe78
1
Parent(s):
4b7dd3f
English
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def classify_image(file_name):
|
|
15 |
return text
|
16 |
|
17 |
|
18 |
-
image = gr.inputs.File( file_count="single",type="file", label="
|
19 |
# label = gr.outputs.Label(num_top_classes=3)
|
20 |
|
21 |
gr.Interface(
|
@@ -24,5 +24,5 @@ gr.Interface(
|
|
24 |
outputs="text",
|
25 |
interpretation="default",
|
26 |
title="API OCR",
|
27 |
-
description="
|
28 |
).launch()
|
|
|
15 |
return text
|
16 |
|
17 |
|
18 |
+
image = gr.inputs.File( file_count="single",type="file", label="Image File to Process")
|
19 |
# label = gr.outputs.Label(num_top_classes=3)
|
20 |
|
21 |
gr.Interface(
|
|
|
24 |
outputs="text",
|
25 |
interpretation="default",
|
26 |
title="API OCR",
|
27 |
+
description="This API is used to extract text from an image."
|
28 |
).launch()
|