Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks() as demo:
|
|
93 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
94 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
95 |
with gr.Row():
|
96 |
-
seed = gr.Slider(label="Use a seed to replicate the same image later (
|
97 |
seed_rand = gr.Button("Randomize Seed 🎲", size="sm", variant="secondary", scale=1)
|
98 |
seed_rand.click(randomize_seed, None, [seed], queue=False)
|
99 |
#stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|
|
|
93 |
txt_input = gr.Textbox(label='Your prompt:', lines=4)
|
94 |
gen_button = gr.Button('Generate up to 6 images in up to 3 minutes total')
|
95 |
with gr.Row():
|
96 |
+
seed = gr.Slider(label="Use a seed to replicate the same image later (maximum 3999999999)", minimum=0, maximum=MAX_SEED, step=1, value=starting_seed, scale=3)
|
97 |
seed_rand = gr.Button("Randomize Seed 🎲", size="sm", variant="secondary", scale=1)
|
98 |
seed_rand.click(randomize_seed, None, [seed], queue=False)
|
99 |
#stop_button = gr.Button('Stop', variant = 'secondary', interactive = False)
|