Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -166,9 +166,9 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
166 |
with gr.Column(scale=4):
|
167 |
img = gr.Gallery(label='SD3M Generated Image', columns = 1, preview=True, height=600)
|
168 |
prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)', interactive=True, placeholder="Enter prompt, add one image.", file_types=['image'])
|
169 |
-
with gr.Accordion("Advanced Options", open=
|
170 |
with gr.Column(scale=1):
|
171 |
-
negative = gr.Textbox(label="Negative prompt", value="low quality, ugly, blurry, poor face, bad anatomy")
|
172 |
width = gr.Slider(
|
173 |
label="Width",
|
174 |
minimum=512,
|
@@ -205,7 +205,7 @@ with gr.Blocks(css=CSS, js=JS, theme="soft") as demo:
|
|
205 |
value=0.7,
|
206 |
)
|
207 |
seed = gr.Slider(
|
208 |
-
label="Seed (-1
|
209 |
minimum=-1,
|
210 |
maximum=MAX_SEED,
|
211 |
step=1,
|
|
|
166 |
with gr.Column(scale=4):
|
167 |
img = gr.Gallery(label='SD3M Generated Image', columns = 1, preview=True, height=600)
|
168 |
prompt = gr.MultimodalTextbox(label='Enter Your Prompt (Multi-Languages)', interactive=True, placeholder="Enter prompt, add one image.", file_types=['image'])
|
169 |
+
with gr.Accordion("Advanced Options", open=True):
|
170 |
with gr.Column(scale=1):
|
171 |
+
negative = gr.Textbox(label="Negative prompt", value="low quality, ugly, blurry, poor face, bad anatomy", height=100)
|
172 |
width = gr.Slider(
|
173 |
label="Width",
|
174 |
minimum=512,
|
|
|
205 |
value=0.7,
|
206 |
)
|
207 |
seed = gr.Slider(
|
208 |
+
label="Seed (-1 Random)",
|
209 |
minimum=-1,
|
210 |
maximum=MAX_SEED,
|
211 |
step=1,
|