DigiP-AI commited on
Commit
c83d099
·
verified ·
1 Parent(s): f79d2a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -146,14 +146,14 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
146
  with gr.Row():
147
  width = gr.Slider(label="Image Width", value=896, minimum=64, maximum=1216, step=32)
148
  height = gr.Slider(label="Image Height", value=1152, minimum=64, maximum=1216, step=32)
149
- strength = gr.Slider(label="Prompt Strength", value=100, minimum=0, maximum=100, step=1)
150
- steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
151
- cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
152
- seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
153
- method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M 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", "PLMS", "UniPC", "UniPC BH2"])
154
  with gr.Row():
155
  with gr.Accordion("🫘Seed", open=False):
156
- seed_output = gr.Textbox(label="Seed Used", show_copy_button = True, elem_id="seed-output")
157
 
158
  # Add a button to trigger the image generation
159
  with gr.Row():
 
146
  with gr.Row():
147
  width = gr.Slider(label="Image Width", value=896, minimum=64, maximum=1216, step=32)
148
  height = gr.Slider(label="Image Height", value=1152, minimum=64, maximum=1216, step=32)
149
+ strength = gr.Slider(label="Prompt Strength", value=100, minimum=0, maximum=100, step=1)
150
+ steps = gr.Slider(label="Sampling steps", value=50, minimum=1, maximum=100, step=1)
151
+ cfg = gr.Slider(label="CFG Scale", value=3.5, minimum=1, maximum=20, step=0.5)
152
+ seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1)
153
+ method = gr.Radio(label="Sampling method", value="DPM++ 2M Karras", choices=["DPM++ 2M 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", "PLMS", "UniPC", "UniPC BH2"])
154
  with gr.Row():
155
  with gr.Accordion("🫘Seed", open=False):
156
+ seed_output = gr.Textbox(label="Seed Used", elem_id="seed-output")
157
 
158
  # Add a button to trigger the image generation
159
  with gr.Row():