Spaces:
Sleeping
Sleeping
sabarinathan
commited on
Commit
·
a2855b2
1
Parent(s):
064b943
Update app.py
Browse files
app.py
CHANGED
@@ -106,13 +106,13 @@ path = [['image_0.jpg'], ['image_1.jpg']]
|
|
106 |
inputs_image = [
|
107 |
gr.components.Image(type="filepath", label="Input Image"),
|
108 |
]
|
109 |
-
|
110 |
-
gr.components.
|
111 |
]
|
112 |
interface_image = gr.Interface(
|
113 |
fn=getOCRResults,
|
114 |
inputs=inputs_image,
|
115 |
-
outputs=
|
116 |
title="Hiragana Character Recognition",
|
117 |
examples=path,
|
118 |
cache_examples=False,
|
|
|
106 |
inputs_image = [
|
107 |
gr.components.Image(type="filepath", label="Input Image"),
|
108 |
]
|
109 |
+
outputs = [
|
110 |
+
gr.components.JSON(label="Output Json"),
|
111 |
]
|
112 |
interface_image = gr.Interface(
|
113 |
fn=getOCRResults,
|
114 |
inputs=inputs_image,
|
115 |
+
outputs=outputs,
|
116 |
title="Hiragana Character Recognition",
|
117 |
examples=path,
|
118 |
cache_examples=False,
|