DigiP-AI commited on
Commit
1a86ae4
·
verified ·
1 Parent(s): 5a2a081

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -139,11 +139,11 @@ with gr.Blocks(theme=theme, fill_width=True, css=css) as app:
139
  with gr.Row(equal_height=True):
140
  width = gr.Slider(label="Image Width", value=896, minimum=64, maximum=1216, step=32)
141
  height = gr.Slider(label="Image Height", value=1152, minimum=64, maximum=1216, step=32)
142
- strength = gr.Slider(label="Prompt Strength", value=100, minimum=0, maximum=100, step=1)
143
- steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
144
- cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
145
- seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
146
- method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ 2S a Karras", "DPM2 Karras", "DPM2 a Karras", "DPM++ SDE Karras", "DPM Adaptive", "DPM++ 2M", "DPM2 Ancestral", "DPM++ S", "DPM++ SDE", "DDPM", "DPM Fast", "dpmpp_2s_ancestral", "DEIS", "DDIM", "Euler CFG PP", "Euler", "Euler a", "Euler Ancestral", "Euler+beta", "Heun", "Heun PP2", "LMS", "LMS Karras", "PLMS", "UniPC", "UniPC BH2"])
147
  with gr.Row(equal_height=True):
148
  with gr.Accordion("🫘Seed", open=False):
149
  seed_output = gr.Textbox(label="Seed Used", elem_id="seed-output")
 
139
  with gr.Row(equal_height=True):
140
  width = gr.Slider(label="Image Width", value=896, minimum=64, maximum=1216, step=32)
141
  height = gr.Slider(label="Image Height", value=1152, minimum=64, maximum=1216, step=32)
142
+ strength = gr.Slider(label="Prompt Strength", value=100, minimum=0, maximum=100, step=1)
143
+ steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
144
+ cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
145
+ seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
146
+ method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M Karras", "DPM++ 2S a Karras", "DPM2 Karras", "DPM2 a Karras", "DPM++ SDE Karras", "DPM Adaptive", "DPM++ 2M", "DPM2 Ancestral", "DPM++ S", "DPM++ SDE", "DDPM", "DPM Fast", "dpmpp_2s_ancestral", "DEIS", "DDIM", "Euler CFG PP", "Euler", "Euler a", "Euler Ancestral", "Euler+beta", "Heun", "Heun PP2", "LMS", "LMS Karras", "PLMS", "UniPC", "UniPC BH2"])
147
  with gr.Row(equal_height=True):
148
  with gr.Accordion("🫘Seed", open=False):
149
  seed_output = gr.Textbox(label="Seed Used", elem_id="seed-output")