Yntec commited on
Commit
a47abbb
1 Parent(s): 24ac5dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,7 +54,7 @@ with gr.Blocks() as demo:
54
  """
55
  )
56
  with gr.Tab('One Image'):
57
- model_choice = gr.Dropdown(models, label = 'Choose a model from the 688 available!', value = models[0], filterable = False)
58
  txt_input = gr.Textbox(label = 'Your prompt:')
59
 
60
  max_imagesone = 1
@@ -85,7 +85,7 @@ with gr.Blocks() as demo:
85
  txt_input2 = gr.Textbox(label = 'Your prompt:')
86
 
87
  max_images = 6
88
- num_images = gr.Slider(1, max_images, value = max_images, step = 1, label = 'Number of images (decrease them slowly until they match the boxes below)')
89
 
90
  gen_button2 = gr.Button('Generate up to 6 images in up to 3 minutes total')
91
  stop_button2 = gr.Button('Stop', variant = 'secondary', interactive = False)
 
54
  """
55
  )
56
  with gr.Tab('One Image'):
57
+ model_choice = gr.Dropdown(models, label = 'Choose a model from the 690 available!', value = models[0], filterable = False)
58
  txt_input = gr.Textbox(label = 'Your prompt:')
59
 
60
  max_imagesone = 1
 
85
  txt_input2 = gr.Textbox(label = 'Your prompt:')
86
 
87
  max_images = 6
88
+ num_images = gr.Slider(1, max_images, value = max_images, step = 1, label = 'Number of images (if you want less than 6 decrease them slowly until they match the boxes below)')
89
 
90
  gen_button2 = gr.Button('Generate up to 6 images in up to 3 minutes total')
91
  stop_button2 = gr.Button('Stop', variant = 'secondary', interactive = False)