Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -167,17 +167,16 @@ def load_predefined_images():
|
|
167 |
|
168 |
with gr.Blocks(css=css) as demo:
|
169 |
gr.Markdown(DESCRIPTIONz)
|
170 |
-
with gr.
|
171 |
-
with gr.
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
|
181 |
|
182 |
with gr.Accordion("Advanced options", open=False, visible=False):
|
183 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
|
|
167 |
|
168 |
with gr.Blocks(css=css) as demo:
|
169 |
gr.Markdown(DESCRIPTIONz)
|
170 |
+
with gr.Row():
|
171 |
+
with gr.Column(scale=1):
|
172 |
+
with gr.Row():
|
173 |
+
prompt = gr.Text(
|
174 |
+
show_label=False,
|
175 |
+
max_lines=1,
|
176 |
+
placeholder="Enter your prompt",
|
177 |
+
container=False,
|
178 |
+
)
|
179 |
+
run_button = gr.Button("Run", scale=0, variant="primary")
|
|
|
180 |
|
181 |
with gr.Accordion("Advanced options", open=False, visible=False):
|
182 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|