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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -8
app.py CHANGED
@@ -168,14 +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
- with gr.Row():
174
- 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"])
175
- with gr.Row():
176
- strength = gr.Slider(label="Strength", value=100, minimum=0, maximum=100, step=1)
177
- with gr.Row():
178
- seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
179
  with gr.Row():
180
  with gr.Accordion("🫘Seed", open=False):
181
  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")