John6666 commited on
Commit
bb567a6
·
verified ·
1 Parent(s): 51223b4

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
100
  with gr.Column(scale=2):
101
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
102
  with gr.Row():
103
- gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total', scale=2)
104
  stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
105
  gen_button.click(lambda: gr.update(interactive=True), None, stop_button)
106
  gr.Markdown("Scroll down to see more images and select models.", elem_classes="guide")
 
100
  with gr.Column(scale=2):
101
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
102
  with gr.Row():
103
+ gen_button = gr.Button(f'Generate up to {int(num_models)} images in up to 3 minutes total', scale=2)
104
  stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
105
  gen_button.click(lambda: gr.update(interactive=True), None, stop_button)
106
  gr.Markdown("Scroll down to see more images and select models.", elem_classes="guide")