Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
c78dc54
1
Parent(s):
d80a29d
Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def auto_prompt_correction(prompt_ui,neg_prompt_ui,disable_auto_prompt_correctio
|
|
77 |
return prompt, neg_prompt
|
78 |
|
79 |
if(prompt=="" and neg_prompt==""):
|
80 |
-
prompt="1girl++, smile--, brown bob+++ hair, brown eyes, sunflowers, sky
|
81 |
neg_prompt=f"unaestheticXLv31---, photo, deformed, realism, disfigured, low contrast, bad hand"
|
82 |
return prompt, neg_prompt
|
83 |
|
@@ -176,8 +176,8 @@ with gr.Blocks(css=css) as demo:
|
|
176 |
disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
|
177 |
|
178 |
with gr.Row():
|
179 |
-
guidance = gr.Slider(label="Guidance scale", value=
|
180 |
-
steps = gr.Slider(label="Steps", value=
|
181 |
|
182 |
seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
|
183 |
|
|
|
77 |
return prompt, neg_prompt
|
78 |
|
79 |
if(prompt=="" and neg_prompt==""):
|
80 |
+
prompt="1girl++, smile--, brown bob+++ hair, brown eyes, sunflowers, sky"
|
81 |
neg_prompt=f"unaestheticXLv31---, photo, deformed, realism, disfigured, low contrast, bad hand"
|
82 |
return prompt, neg_prompt
|
83 |
|
|
|
176 |
disable_auto_prompt_correction = gr.Checkbox(label="Disable auto prompt corretion.")
|
177 |
|
178 |
with gr.Row():
|
179 |
+
guidance = gr.Slider(label="Guidance scale", value=1.5, maximum=25)
|
180 |
+
steps = gr.Slider(label="Steps", value=6, minimum=2, maximum=30, step=1)
|
181 |
|
182 |
seed = gr.Slider(0, 2147483647, label='Seed (0 = random)', value=0, step=1)
|
183 |
|