DigiP-AI commited on
Commit
47a4ae3
·
verified ·
1 Parent(s): 015c7ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -187,11 +187,11 @@ with gr.Blocks(theme=theme, css=css) as app:
187
  with gr.Accordion("Advanced Settings", open=False):
188
  negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="What should not be in the image", value="(deformed, distorted, disfigured), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, misspellings, typos", lines=3, elem_id="negative-prompt-text-input")
189
  with gr.Row():
190
- width = gr.Slider(label="Width", value=1024, minimum=64, maximum=1216, step=32)
191
- height = gr.Slider(label="Height", value=1024, minimum=64, maximum=1216, step=32)
192
  steps = gr.Slider(label="Sampling steps", value=35, minimum=1, maximum=100, step=1)
193
  cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)
194
- strength = gr.Slider(label="Strength", value=0.7, minimum=0, maximum=1, step=0.001)
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
 
 
187
  with gr.Accordion("Advanced Settings", open=False):
188
  negative_prompt = gr.Textbox(label="Negative Prompt", placeholder="What should not be in the image", value="(deformed, distorted, disfigured), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation, misspellings, typos", lines=3, elem_id="negative-prompt-text-input")
189
  with gr.Row():
190
+ width = gr.Slider(label="Width", value=896, minimum=64, maximum=1216, step=32)
191
+ height = gr.Slider(label="Height", value=1152, minimum=64, maximum=1216, step=32)
192
  steps = gr.Slider(label="Sampling steps", value=35, minimum=1, maximum=100, step=1)
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