Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def load_fn(models):
|
|
20 |
load_fn(models)
|
21 |
|
22 |
|
23 |
-
num_models =
|
24 |
default_models = models[:num_models]
|
25 |
|
26 |
|
@@ -45,7 +45,7 @@ def gen_fn(model_str, prompt):
|
|
45 |
with gr.Blocks() as demo:
|
46 |
with gr.Tab('The Dream'):
|
47 |
txt_input = gr.Textbox(label = 'Your prompt:', lines=4).style(container=False,min_width=1200)
|
48 |
-
gen_button = gr.Button('Generate up to
|
49 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
50 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
51 |
gr.HTML(
|
|
|
20 |
load_fn(models)
|
21 |
|
22 |
|
23 |
+
num_models = 200
|
24 |
default_models = models[:num_models]
|
25 |
|
26 |
|
|
|
45 |
with gr.Blocks() as demo:
|
46 |
with gr.Tab('The Dream'):
|
47 |
txt_input = gr.Textbox(label = 'Your prompt:', lines=4).style(container=False,min_width=1200)
|
48 |
+
gen_button = gr.Button('Generate up to 200 images in up to 3 minutes total')
|
49 |
stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
50 |
gen_button.click(lambda s: gr.update(interactive = True), None, stop_button)
|
51 |
gr.HTML(
|