Update app.py
Browse files
app.py
CHANGED
@@ -89,6 +89,7 @@ with gr.Blocks() as demo:
|
|
89 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
90 |
#stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
91 |
seed = gr.Slider(label="Use a seed to replicate the same image later", info="Max 3999999999", minimum=0, maximum=MAX_SEED, step=1, value=1)
|
|
|
92 |
gen_button.click(lambda s: gr.update(interactive = True), None)
|
93 |
gr.HTML(
|
94 |
"""
|
|
|
89 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
90 |
#stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
91 |
seed = gr.Slider(label="Use a seed to replicate the same image later", info="Max 3999999999", minimum=0, maximum=MAX_SEED, step=1, value=1)
|
92 |
+
seed_rand = gr.Button("Randomize Seed 🎲", size="sm", variant="secondary")
|
93 |
gen_button.click(lambda s: gr.update(interactive = True), None)
|
94 |
gr.HTML(
|
95 |
"""
|