Spaces:
Running
Running
Update app.py
Browse files
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 =
|
72 |
-
num_images = gr.Slider(1, max_images, value =
|
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)
|