Yntec commited on
Commit
f4ebb76
1 Parent(s): afb640e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks() as demo:
54
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
55
  gen_button = gr.Button('Generate up to 2 images in up to 20 seconds')
56
  #stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
57
- gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
58
  gr.HTML(
59
  """
60
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">
 
54
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
55
  gen_button = gr.Button('Generate up to 2 images in up to 20 seconds')
56
  #stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
57
+ gen_button.click(lambda s: gr.update(interactive = True), None)
58
  gr.HTML(
59
  """
60
  <div style="text-align: center; max-width: 1200px; margin: 0 auto;">