Spaces:
Running
on
Zero
Running
on
Zero
panelforge
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -73,23 +73,21 @@ with gr.Blocks(css=css) as demo:
|
|
73 |
|
74 |
prompt = gr.Text(
|
75 |
label="Prompt",
|
76 |
-
show_label=False,
|
77 |
lines=3,
|
78 |
placeholder="Enter your prompt",
|
79 |
container=False,
|
80 |
)
|
81 |
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
run_button = gr.Button("Run", 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(
|
|
|
73 |
|
74 |
prompt = gr.Text(
|
75 |
label="Prompt",
|
|
|
76 |
lines=3,
|
77 |
placeholder="Enter your prompt",
|
78 |
container=False,
|
79 |
)
|
80 |
|
81 |
+
negative_prompt = gr.Text(
|
82 |
+
label="Negative prompt",
|
83 |
+
lines=3,
|
84 |
+
placeholder="Enter a negative prompt",
|
85 |
+
container=False,
|
86 |
+
)
|
87 |
|
88 |
run_button = gr.Button("Run", variant="primary")
|
89 |
|
90 |
+
with gr.Accordion("Advanced Settings", open=False):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
with gr.Row():
|
93 |
seed = gr.Slider(
|