Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -105,17 +105,17 @@ def generate(
|
|
105 |
|
106 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
107 |
gr.Markdown(DESCRIPTIONx)
|
108 |
-
with gr.
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
with gr.Accordion("Advanced options", open=False, visible=True):
|
120 |
num_images = gr.Slider(
|
121 |
label="Number of Images",
|
|
|
105 |
|
106 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
107 |
gr.Markdown(DESCRIPTIONx)
|
108 |
+
with gr.Row():
|
109 |
+
prompt = gr.Text(
|
110 |
+
label="Prompt",
|
111 |
+
show_label=False,
|
112 |
+
max_lines=1,
|
113 |
+
placeholder="Enter your prompt",
|
114 |
+
container=False,
|
115 |
+
)
|
116 |
+
run_button = gr.Button("Run⚡", scale=0)
|
117 |
+
result = gr.Gallery(label="Result", columns=1, show_label=False)
|
118 |
+
|
119 |
with gr.Accordion("Advanced options", open=False, visible=True):
|
120 |
num_images = gr.Slider(
|
121 |
label="Number of Images",
|