DigiP-AI commited on
Commit
dc38a98
·
verified ·
1 Parent(s): 97f3619

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -193,9 +193,8 @@ with gr.Blocks(theme=theme, css=css) as app:
193
  cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)
194
  strength = gr.Slider(label="Strength", value=90, minimum=0, maximum=100, step=10)
195
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1) # Setting the seed to -1 will make it random
196
- method = gr.Radio(label="Sampling method", [" ","DPM++ 2M Karras", "DPM++ 2S a Karras", "DPM2 a Karras", "DPM2 Karras", "DPM++ SDE Karras", "DEIS", "LMS", "DPM Adaptive", "DPM++ 2M", "DPM2 Ancestral", "DPM++ S", "DPM++ SDE", "DDPM", "DPM Fast", "dpmpp_2s_ancestral", "Euler", "Euler CFG PP", "Euler a", "Euler Ancestral", "Euler+beta", "Heun", "Heun PP2", "DDIM", "LMS Karras", "PLMS", "UniPC", "UniPC BH2"])
197
-
198
-
199
  # Add a button to trigger the image generation
200
  with gr.Row():
201
  text_button = gr.Button("Generate Image", variant='primary', elem_id="gen-button")
 
193
  cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)
194
  strength = gr.Slider(label="Strength", value=90, minimum=0, maximum=100, step=10)
195
  seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1) # Setting the seed to -1 will make it random
196
+ method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ 2S a Karras", "DPM2 a Karras", "DPM2 Karras", "DPM++ SDE Karras", "DEIS", "LMS", "DPM Adaptive", "DPM++ 2M", "DPM2 Ancestral", "DPM++ S", "DPM++ SDE", "DDPM", "DPM Fast", "dpmpp_2s_ancestral", "Euler", "Euler CFG PP", "Euler a", "Euler Ancestral", "Euler+beta", "Heun", "Heun PP2", "DDIM", "LMS Karras", "PLMS", "UniPC", "UniPC BH2"])
197
+
 
198
  # Add a button to trigger the image generation
199
  with gr.Row():
200
  text_button = gr.Button("Generate Image", variant='primary', elem_id="gen-button")