Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ with gr.Blocks() as demo:
|
|
47 |
model_choice2 = gr.Dropdown(models, label = 'Choose model', value = models[0], filterable = False)
|
48 |
txt_input2 = gr.Textbox(label = 'Prompt text')
|
49 |
|
50 |
-
max_images =
|
51 |
num_images = gr.Slider(1, max_images, value = max_images, step = 1, label = 'Number of images')
|
52 |
|
53 |
gen_button2 = gr.Button('Generate')
|
|
|
47 |
model_choice2 = gr.Dropdown(models, label = 'Choose model', value = models[0], filterable = False)
|
48 |
txt_input2 = gr.Textbox(label = 'Prompt text')
|
49 |
|
50 |
+
max_images = 1
|
51 |
num_images = gr.Slider(1, max_images, value = max_images, step = 1, label = 'Number of images')
|
52 |
|
53 |
gen_button2 = gr.Button('Generate')
|