Omnibus commited on
Commit
b3e2ba3
·
1 Parent(s): 028f0b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -235,11 +235,11 @@ with gr.Blocks() as app:
235
  n_out5=gr.Label(label="Output")
236
  outp5 = gr.HTML("""""")
237
  hid_box=gr.Textbox(visible=False)
238
- hid_im = gr.Image(type="pil")
239
  def echo(inp):
240
  return inp
241
 
242
- inp.change(echo,inp,hid_im).then(upd,hid_im,inp)
243
 
244
  btn.click(fin_clear,None,fin,show_progress=False)
245
  load_btn.click(load_url,in_url,[inp,mes])
 
235
  n_out5=gr.Label(label="Output")
236
  outp5 = gr.HTML("""""")
237
  hid_box=gr.Textbox(visible=False)
238
+ hid_im = gr.Image(type="pil",visible=False)
239
  def echo(inp):
240
  return inp
241
 
242
+ #inp.change(echo,inp,hid_im).then(upd,hid_im,inp)
243
 
244
  btn.click(fin_clear,None,fin,show_progress=False)
245
  load_btn.click(load_url,in_url,[inp,mes])