RdnUser77 commited on
Commit
fabda62
1 Parent(s): 96fd27e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -68,8 +68,8 @@ with gr.Blocks() as demo:
68
  model_choice2 = gr.Dropdown(models, label = 'Choose model', value = models[0], filterable = False)
69
  txt_input2 = gr.Textbox(label = 'Prompt text')
70
 
71
- max_images = 4
72
- num_images = gr.Slider(1, max_images, value = max_images, step = 1, label = 'Number of images')
73
 
74
  gen_button2 = gr.Button('Generate')
75
  stop_button2 = gr.Button('Stop', variant = 'secondary', interactive = False)
 
68
  model_choice2 = gr.Dropdown(models, label = 'Choose model', value = models[0], filterable = False)
69
  txt_input2 = gr.Textbox(label = 'Prompt text')
70
 
71
+ max_images = 6
72
+ num_images = gr.Slider(1, max_images, value = 4, step = 1, label = 'Number of images')
73
 
74
  gen_button2 = gr.Button('Generate')
75
  stop_button2 = gr.Button('Stop', variant = 'secondary', interactive = False)