Yntec commited on
Commit
0621d03
β€’
1 Parent(s): 951ea20

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
120
  with gr.Column(scale=2):
121
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
122
  with gr.Row():
123
- gen_button = gr.Button('Generate up to 6 images from 1 to 18 minutes total', scale=2)
124
  stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
125
  gen_button.click(lambda: gr.update(interactive = True), None, stop_button)
126
  gr.Markdown("Scroll down to see more images and select models.", elem_classes="guide")
@@ -147,7 +147,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
147
 
148
  with gr.Column(scale=4):
149
  with gr.Accordion('Model selection'):
150
- model_choice = gr.CheckboxGroup(models, label = f'Choose up to {num_models} different models from the 866 available!', value=default_models, interactive=True)
151
  model_choice.change(update_imgbox, model_choice, output)
152
  #model_choice.change(update_imgbox_gallery, model_choice, output)
153
  model_choice.change(extend_choices, model_choice, current_models)
 
120
  with gr.Column(scale=2):
121
  txt_input = gr.Textbox(label='Your prompt:', lines=4)
122
  with gr.Row():
123
+ gen_button = gr.Button(f'Generate up to {int(num_models)} images from 1 to {int(num_models)*3} minutes total', scale=2)
124
  stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
125
  gen_button.click(lambda: gr.update(interactive = True), None, stop_button)
126
  gr.Markdown("Scroll down to see more images and select models.", elem_classes="guide")
 
147
 
148
  with gr.Column(scale=4):
149
  with gr.Accordion('Model selection'):
150
+ model_choice = gr.CheckboxGroup(models, label = f'Choose up to {int(num_models)} different models from the {len(models)} available!', value=default_models, interactive=True)
151
  model_choice.change(update_imgbox, model_choice, output)
152
  #model_choice.change(update_imgbox_gallery, model_choice, output)
153
  model_choice.change(extend_choices, model_choice, current_models)