Yntec commited on
Commit
a1090fa
·
verified ·
1 Parent(s): 14a61bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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
  """