justinpinkney commited on
Commit
ad46a46
1 Parent(s): 8a4a07b

remove queue on type change

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -165,7 +165,7 @@ _Created by [Justin Pinkney](https://www.justinpinkney.com) at [Lambda Labs](htt
165
  strength = gr.Slider(label="Strength", minimum=0, maximum=5, step=0.05, value=1, interactive=True)
166
 
167
  fn = partial(change_visible, txt1, im1)
168
- btn1.change(fn=fn, inputs=[btn1], outputs=[txt1, im1])
169
 
170
  btns.append(btn1)
171
  txts.append(txt1)
 
165
  strength = gr.Slider(label="Strength", minimum=0, maximum=5, step=0.05, value=1, interactive=True)
166
 
167
  fn = partial(change_visible, txt1, im1)
168
+ btn1.change(fn=fn, inputs=[btn1], outputs=[txt1, im1], queue=False)
169
 
170
  btns.append(btn1)
171
  txts.append(txt1)