Geonmo commited on
Commit
6596096
1 Parent(s): e0ed52f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -125,9 +125,9 @@ if __name__ == '__main__':
125
  with gr.Row():
126
  with gr.Column():
127
  image_input = gr.Image(type='pil', label='Input image')
128
- submit_botton = gr.Button('Submit')
129
  json_output = gr.JSON(label='Output')
130
- submit_botton.click(predict, inputs=image_input, outputs=json_output)
131
  gr.Examples(examples=examples, inputs=image_input)
132
  gr.HTML(article)
133
  demo.launch()
125
  with gr.Row():
126
  with gr.Column():
127
  image_input = gr.Image(type='pil', label='Input image')
128
+ submit_button = gr.Button('Submit')
129
  json_output = gr.JSON(label='Output')
130
+ submit_button.click(predict, inputs=image_input, outputs=json_output)
131
  gr.Examples(examples=examples, inputs=image_input)
132
  gr.HTML(article)
133
  demo.launch()