Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,12 @@ with gr.Blocks(css=css, theme=gr.themes.Base()) as demo:
|
|
190 |
result = gr.Gallery(label="Result", columns=1, preview=True)
|
191 |
with gr.Accordion("Advanced options", open=False):
|
192 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False, visible=True)
|
193 |
-
|
|
|
|
|
|
|
|
|
|
|
194 |
with gr.Row():
|
195 |
num_inference_steps = gr.Slider(
|
196 |
label="Steps",
|
|
|
190 |
result = gr.Gallery(label="Result", columns=1, preview=True)
|
191 |
with gr.Accordion("Advanced options", open=False):
|
192 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False, visible=True)
|
193 |
+
negative_prompt = gr.Text(
|
194 |
+
label="Negative prompt",
|
195 |
+
max_lines=1,
|
196 |
+
placeholder="Enter a negative prompt",
|
197 |
+
visible=True,
|
198 |
+
)
|
199 |
with gr.Row():
|
200 |
num_inference_steps = gr.Slider(
|
201 |
label="Steps",
|