Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -32,11 +32,11 @@ css = """.output_image, .input_image {height: 600px !important}"""
|
|
32 |
# for now it shows also the intermediate steps
|
33 |
iface = gr.Interface(fn=prediction,
|
34 |
inputs=gr.Image(type="pil"),
|
35 |
-
outputs=[gr.JSON(label="
|
36 |
gr.Image(type="pil", label="blurred image"),
|
37 |
-
gr.JSON(label="
|
38 |
gr.Image(type="pil", label="annotated image"),
|
39 |
-
gr.JSON(label="
|
40 |
title=title,
|
41 |
description=description,
|
42 |
examples=examples,
|
|
|
32 |
# for now it shows also the intermediate steps
|
33 |
iface = gr.Interface(fn=prediction,
|
34 |
inputs=gr.Image(type="pil"),
|
35 |
+
outputs=[gr.JSON(label="sroie parsing"),
|
36 |
gr.Image(type="pil", label="blurred image"),
|
37 |
+
gr.JSON(label="cord parsing"),
|
38 |
gr.Image(type="pil", label="annotated image"),
|
39 |
+
gr.JSON(label="final output")],
|
40 |
title=title,
|
41 |
description=description,
|
42 |
examples=examples,
|