mp-02 commited on
Commit
8683ec6
1 Parent(s): 6a47a94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="json parsing"),
36
  gr.Image(type="pil", label="blurred image"),
37
- gr.JSON(label="json parsing"),
38
  gr.Image(type="pil", label="annotated image"),
39
- gr.JSON(label="json parsing")],
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,