Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,12 +50,12 @@ with gr.Blocks() as demo:
|
|
50 |
</p>
|
51 |
"""
|
52 |
)
|
53 |
-
with gr.Tab('
|
54 |
model_choice2 = gr.Dropdown(models, label = 'Choose model', value = models[0], filterable = False)
|
55 |
txt_input2 = gr.Textbox(label = 'Prompt text')
|
56 |
|
57 |
max_images = 1
|
58 |
-
num_images = gr.Slider(1, max_images, value = max_images, step = 1, label = 'Number of images')
|
59 |
|
60 |
gen_button2 = gr.Button('Generate')
|
61 |
stop_button2 = gr.Button('Stop', variant = 'secondary', interactive = False)
|
|
|
50 |
</p>
|
51 |
"""
|
52 |
)
|
53 |
+
with gr.Tab('One Image'):
|
54 |
model_choice2 = gr.Dropdown(models, label = 'Choose model', value = models[0], filterable = False)
|
55 |
txt_input2 = gr.Textbox(label = 'Prompt text')
|
56 |
|
57 |
max_images = 1
|
58 |
+
num_images = gr.Slider(1, max_images, value = max_images, step = 1, label = 'Number of images (more images coming soon, stay tuned!)')
|
59 |
|
60 |
gen_button2 = gr.Button('Generate')
|
61 |
stop_button2 = gr.Button('Stop', variant = 'secondary', interactive = False)
|