DigiP-AI commited on
Commit
fc4c6ee
·
verified ·
1 Parent(s): ae6940c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -168,11 +168,11 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
168
  with gr.Row():
169
  width = gr.Slider(label="Width", value=896, minimum=64, maximum=1216, step=32)
170
  height = gr.Slider(label="Height", value=1152, minimum=64, maximum=1216, step=32)
171
- steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
172
  cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
173
- method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "DEIS", "LMS", "DPM Adaptive", "DPM++ 2M", "DPM++ S", "DPM++ SDE", "DDPM", "DPM Fast", "Euler", "Euler CFG PP", "Euler a", "Euler+beta", "Heun", "Heun PP2", "DDIM", "PLMS", "UniPC", "UniPC BH2"])
174
  strength = gr.Slider(label="Strength", value=100, minimum=0, maximum=100, step=1)
175
- seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
176
  with gr.Row():
177
  with gr.Accordion("🫘Seed", open=False):
178
  seed_output = gr.Textbox(label="Seed Used", show_copy_button = True, elem_id="seed-output")
 
168
  with gr.Row():
169
  width = gr.Slider(label="Width", value=896, minimum=64, maximum=1216, step=32)
170
  height = gr.Slider(label="Height", value=1152, minimum=64, maximum=1216, step=32)
171
+ steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
172
  cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
173
+ method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "DEIS", "LMS", "DPM Adaptive", "DPM++ 2M", "DPM++ S", "DPM++ SDE", "DDPM", "DPM Fast", "Euler", "Euler CFG PP", "Euler a", "Euler+beta", "Heun", "Heun PP2", "DDIM", "PLMS", "UniPC", "UniPC BH2"])
174
  strength = gr.Slider(label="Strength", value=100, minimum=0, maximum=100, step=1)
175
+ seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
176
  with gr.Row():
177
  with gr.Accordion("🫘Seed", open=False):
178
  seed_output = gr.Textbox(label="Seed Used", show_copy_button = True, elem_id="seed-output")