doevent commited on
Commit
5c48d67
·
verified ·
1 Parent(s): 8aa40ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ with demo:
60
  Button_show_anchor = gr.Button(value="Predict anchors", visible=False)
61
  Button_run = gr.Button(value="Colorize")
62
  with gr.Column():
63
- Image_output = [gr.Image(type="numpy", label="Output"), gr.Image(type="numpy", label="Output")]
64
 
65
  Ckeckbox_editable.change(fn=switch_states, inputs=Ckeckbox_editable, outputs=[Image_anchor, Button_show_anchor])
66
  Button_show_anchor.click(fn=click_predanchors, inputs=[Image_input, Num_anchor, Radio_resolution, Ckeckbox_editable], outputs=Image_anchor)
 
60
  Button_show_anchor = gr.Button(value="Predict anchors", visible=False)
61
  Button_run = gr.Button(value="Colorize")
62
  with gr.Column():
63
+ Image_output = [gr.Image(type="numpy", label="Output", format="png"), gr.Image(type="numpy", label="Output", format="png")]
64
 
65
  Ckeckbox_editable.change(fn=switch_states, inputs=Ckeckbox_editable, outputs=[Image_anchor, Button_show_anchor])
66
  Button_show_anchor.click(fn=click_predanchors, inputs=[Image_input, Num_anchor, Radio_resolution, Ckeckbox_editable], outputs=Image_anchor)