Update app.py
Browse files
app.py
CHANGED
|
@@ -171,7 +171,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
|
|
| 171 |
value="Realism : V4.0_Lightning"
|
| 172 |
)
|
| 173 |
|
| 174 |
-
with gr.Accordion("Advanced options", open=True):
|
| 175 |
num_images = gr.Slider(
|
| 176 |
label="Number of Images",
|
| 177 |
minimum=1,
|
|
@@ -179,7 +179,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
|
|
| 179 |
step=1,
|
| 180 |
value=1,
|
| 181 |
)
|
| 182 |
-
with gr.Row():
|
| 183 |
with gr.Column(scale=1):
|
| 184 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
| 185 |
negative_prompt = gr.Text(
|
|
@@ -213,7 +213,7 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme", js=js_func) as demo:
|
|
| 213 |
step=64,
|
| 214 |
value=1024,
|
| 215 |
)
|
| 216 |
-
with gr.Row():
|
| 217 |
guidance_scale = gr.Slider(
|
| 218 |
label="Guidance Scale",
|
| 219 |
minimum=0.1,
|
|
|
|
| 171 |
value="Realism : V4.0_Lightning"
|
| 172 |
)
|
| 173 |
|
| 174 |
+
with gr.Accordion("Advanced options", open=True, visible=False):
|
| 175 |
num_images = gr.Slider(
|
| 176 |
label="Number of Images",
|
| 177 |
minimum=1,
|
|
|
|
| 179 |
step=1,
|
| 180 |
value=1,
|
| 181 |
)
|
| 182 |
+
with gr.Row(visible=True):
|
| 183 |
with gr.Column(scale=1):
|
| 184 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
| 185 |
negative_prompt = gr.Text(
|
|
|
|
| 213 |
step=64,
|
| 214 |
value=1024,
|
| 215 |
)
|
| 216 |
+
with gr.Row(visible=True):
|
| 217 |
guidance_scale = gr.Slider(
|
| 218 |
label="Guidance Scale",
|
| 219 |
minimum=0.1,
|