Update app.py
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ def generate(
|
|
| 127 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
| 128 |
gr.Markdown(DESCRIPTIONx)
|
| 129 |
with gr.Row():
|
| 130 |
-
|
| 131 |
prompt = gr.Text(
|
| 132 |
label="Prompt",
|
| 133 |
show_label=False,
|
|
@@ -144,8 +144,9 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 144 |
choices=list(MODEL_OPTIONS.keys()),
|
| 145 |
value="RealVisXL_V4.0_Lightning"
|
| 146 |
)
|
| 147 |
-
|
| 148 |
with gr.Accordion("Advanced options", open=True):
|
|
|
|
| 149 |
num_images = gr.Slider(
|
| 150 |
label="Number of Images",
|
| 151 |
minimum=1,
|
|
|
|
| 127 |
with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
| 128 |
gr.Markdown(DESCRIPTIONx)
|
| 129 |
with gr.Row():
|
| 130 |
+
with gr.Column(scale=1):
|
| 131 |
prompt = gr.Text(
|
| 132 |
label="Prompt",
|
| 133 |
show_label=False,
|
|
|
|
| 144 |
choices=list(MODEL_OPTIONS.keys()),
|
| 145 |
value="RealVisXL_V4.0_Lightning"
|
| 146 |
)
|
| 147 |
+
|
| 148 |
with gr.Accordion("Advanced options", open=True):
|
| 149 |
+
with gr.Column(scale=3):
|
| 150 |
num_images = gr.Slider(
|
| 151 |
label="Number of Images",
|
| 152 |
minimum=1,
|