Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,13 +93,13 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme', css=css) as app:
|
|
93 |
with gr.Accordion("Advanced Settings", open=False):
|
94 |
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")
|
95 |
with gr.Row():
|
96 |
-
width = gr.Slider(label="Width", value=
|
97 |
-
height = gr.Slider(label="Height", value=
|
98 |
steps = gr.Slider(label="Sampling steps", value=4, minimum=1, maximum=100, step=1)
|
99 |
cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)
|
100 |
strength = gr.Slider(label="Strength", value=0.7, minimum=0, maximum=1, step=0.001)
|
101 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1) # Setting the seed to -1 will make it random
|
102 |
-
method = gr.Radio(label="Sampling method", value="
|
103 |
|
104 |
# Add a button to trigger the image generation
|
105 |
with gr.Row():
|
|
|
93 |
with gr.Accordion("Advanced Settings", open=False):
|
94 |
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")
|
95 |
with gr.Row():
|
96 |
+
width = gr.Slider(label="Width", value=512, minimum=256, maximum=1024, step=64)
|
97 |
+
height = gr.Slider(label="Height", value=512, minimum=256, maximum=1024, step=64)
|
98 |
steps = gr.Slider(label="Sampling steps", value=4, minimum=1, maximum=100, step=1)
|
99 |
cfg = gr.Slider(label="CFG Scale", value=7, minimum=1, maximum=20, step=1)
|
100 |
strength = gr.Slider(label="Strength", value=0.7, minimum=0, maximum=1, step=0.001)
|
101 |
seed = gr.Slider(label="Seed", value=-1, minimum=-1, maximum=1000000000, step=1) # Setting the seed to -1 will make it random
|
102 |
+
method = gr.Radio(label="Sampling method", value="DDIM", choices=["DPM++ 2M Karras", "DPM++ SDE Karras", "Euler", "Euler a", "Heun", "DDIM"])
|
103 |
|
104 |
# Add a button to trigger the image generation
|
105 |
with gr.Row():
|