Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -83,20 +83,22 @@ with gr.Blocks(css=css) as demo:
|
|
83 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
84 |
|
85 |
with gr.Accordion("Advanced Settings", open=False):
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
|
|
|
|
100 |
|
101 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
102 |
|
|
|
83 |
run_button = gr.Button("Run", scale=0, variant="primary")
|
84 |
|
85 |
with gr.Accordion("Advanced Settings", open=False):
|
86 |
+
with gr.Row():
|
87 |
+
negative_prompt = gr.Text(
|
88 |
+
label="Negative prompt",
|
89 |
+
lines=3,
|
90 |
+
placeholder="Enter a negative prompt",
|
91 |
+
visible=True, # Show negative prompt by default
|
92 |
+
)
|
93 |
+
|
94 |
+
with gr.Row():
|
95 |
+
seed = gr.Slider(
|
96 |
+
label="Seed",
|
97 |
+
minimum=0,
|
98 |
+
maximum=MAX_SEED,
|
99 |
+
step=1,
|
100 |
+
value=0,
|
101 |
+
)
|
102 |
|
103 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
|
104 |
|