Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', fill_width=True, css=CSS) as demo:
|
|
100 |
with gr.Column(scale=2):
|
101 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
102 |
with gr.Row():
|
103 |
-
gen_button = gr.Button('Generate up to
|
104 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
|
105 |
gen_button.click(lambda: gr.update(interactive=True), None, stop_button)
|
106 |
gr.Markdown("Scroll down to see more images and select models.", elem_classes="guide")
|
|
|
100 |
with gr.Column(scale=2):
|
101 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
102 |
with gr.Row():
|
103 |
+
gen_button = gr.Button(f'Generate up to {int(num_models)} images in up to 3 minutes total', scale=2)
|
104 |
stop_button = gr.Button('Stop', variant='secondary', interactive=False, scale=1)
|
105 |
gen_button.click(lambda: gr.update(interactive=True), None, stop_button)
|
106 |
gr.Markdown("Scroll down to see more images and select models.", elem_classes="guide")
|