djrana commited on
Commit
8ffa88a
1 Parent(s): 5b82fbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -79,9 +79,6 @@ def ac():
79
  with gr.Row():
80
  out1 = gr.Image()
81
  out2 = gr.Image()
82
- with gr.Row():
83
- out3 = gr.Image()
84
- out4 = gr.Image()
85
 
86
  with gr.Row(visible=False):
87
  h=gr.Textbox(value="V")
@@ -99,8 +96,6 @@ def ac():
99
  sta = t_state.change(end,t_state,[t_switch,message2],every=1,show_progress=True)
100
  b2=btn1.click(im_fn,[put,fac_b,h],[out1,fac_b], show_progress=True)
101
  b3=out1.change(im_fn,[put,fac_b,h],[out2,fac_b], show_progress=True)
102
- b4=out2.change(im_fn,[put,fac_b,h],[out3,fac_b], show_progress=True)
103
- b5=out3.change(im_fn,[put,fac_b,h],[out4,fac_b], show_progress=True)
104
  b6=out4.change(noth,None,message, show_progress=False)
105
  swi=t_switch.change(clear,None,[t_switch,fac_b], cancels=[sta,b2,b3,b4,b5],show_progress=False)
106
  #btn2.click(noth,None,message,cancels=[b1,sta,b2,b3,b4,b5,swi],show_progress=False)
 
79
  with gr.Row():
80
  out1 = gr.Image()
81
  out2 = gr.Image()
 
 
 
82
 
83
  with gr.Row(visible=False):
84
  h=gr.Textbox(value="V")
 
96
  sta = t_state.change(end,t_state,[t_switch,message2],every=1,show_progress=True)
97
  b2=btn1.click(im_fn,[put,fac_b,h],[out1,fac_b], show_progress=True)
98
  b3=out1.change(im_fn,[put,fac_b,h],[out2,fac_b], show_progress=True)
 
 
99
  b6=out4.change(noth,None,message, show_progress=False)
100
  swi=t_switch.change(clear,None,[t_switch,fac_b], cancels=[sta,b2,b3,b4,b5],show_progress=False)
101
  #btn2.click(noth,None,message,cancels=[b1,sta,b2,b3,b4,b5,swi],show_progress=False)