Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def generate_image(
|
|
68 |
width=1024,
|
69 |
height=1024,
|
70 |
scale=1.5,
|
71 |
-
steps=
|
72 |
clip=3):
|
73 |
|
74 |
|
@@ -115,7 +115,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
115 |
img = gr.Image(label='SD3M Generated Image')
|
116 |
with gr.Accordion("Advanced Options", open=False):
|
117 |
with gr.Row():
|
118 |
-
negative = gr.Textbox(label="Negative prompt", value="low quality")
|
119 |
with gr.Row():
|
120 |
width = gr.Slider(
|
121 |
label="Width",
|
@@ -144,7 +144,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
144 |
minimum=1,
|
145 |
maximum=50,
|
146 |
step=1,
|
147 |
-
value=
|
148 |
)
|
149 |
clip = gr.Slider(
|
150 |
label="Clip Skip",
|
|
|
68 |
width=1024,
|
69 |
height=1024,
|
70 |
scale=1.5,
|
71 |
+
steps=30,
|
72 |
clip=3):
|
73 |
|
74 |
|
|
|
115 |
img = gr.Image(label='SD3M Generated Image')
|
116 |
with gr.Accordion("Advanced Options", open=False):
|
117 |
with gr.Row():
|
118 |
+
negative = gr.Textbox(label="Negative prompt", value="low quality, ugly, blurry, poor face, bad anatomy")
|
119 |
with gr.Row():
|
120 |
width = gr.Slider(
|
121 |
label="Width",
|
|
|
144 |
minimum=1,
|
145 |
maximum=50,
|
146 |
step=1,
|
147 |
+
value=30,
|
148 |
)
|
149 |
clip = gr.Slider(
|
150 |
label="Clip Skip",
|