Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -787,8 +787,8 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
| 787 |
cfg_gui = gr.Slider(minimum=0, maximum=30, step=0.5, value=7., label="CFG")
|
| 788 |
sampler_gui = gr.Dropdown(label="Sampler", choices=scheduler_names, value="Euler")
|
| 789 |
schedule_type_gui = gr.Dropdown(label="Schedule type", choices=SCHEDULE_TYPE_OPTIONS, value=SCHEDULE_TYPE_OPTIONS[0])
|
| 790 |
-
img_width_gui = gr.Slider(minimum=64, maximum=4096, step=8, value=
|
| 791 |
-
img_height_gui = gr.Slider(minimum=64, maximum=4096, step=8, value=
|
| 792 |
seed_gui = gr.Number(minimum=-1, maximum=9999999999, value=-1, label="Seed")
|
| 793 |
pag_scale_gui = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=0.0, label="PAG Scale")
|
| 794 |
with gr.Row():
|
|
@@ -898,7 +898,7 @@ with gr.Blocks(theme="NoCrypt/miku", css=CSS) as app:
|
|
| 898 |
run_set_random_seed, [], seed_gui
|
| 899 |
)
|
| 900 |
|
| 901 |
-
num_images_gui = gr.Slider(minimum=1, maximum=
|
| 902 |
prompt_syntax_gui = gr.Dropdown(label="Prompt Syntax", choices=PROMPT_W_OPTIONS, value=PROMPT_W_OPTIONS[1][1])
|
| 903 |
vae_model_gui = gr.Dropdown(label="VAE Model", choices=vae_model_list, value=vae_model_list[0])
|
| 904 |
|
|
|
|
| 787 |
cfg_gui = gr.Slider(minimum=0, maximum=30, step=0.5, value=7., label="CFG")
|
| 788 |
sampler_gui = gr.Dropdown(label="Sampler", choices=scheduler_names, value="Euler")
|
| 789 |
schedule_type_gui = gr.Dropdown(label="Schedule type", choices=SCHEDULE_TYPE_OPTIONS, value=SCHEDULE_TYPE_OPTIONS[0])
|
| 790 |
+
img_width_gui = gr.Slider(minimum=64, maximum=4096, step=8, value=832, label="Img Width")
|
| 791 |
+
img_height_gui = gr.Slider(minimum=64, maximum=4096, step=8, value=1216, label="Img Height")
|
| 792 |
seed_gui = gr.Number(minimum=-1, maximum=9999999999, value=-1, label="Seed")
|
| 793 |
pag_scale_gui = gr.Slider(minimum=0.0, maximum=10.0, step=0.1, value=0.0, label="PAG Scale")
|
| 794 |
with gr.Row():
|
|
|
|
| 898 |
run_set_random_seed, [], seed_gui
|
| 899 |
)
|
| 900 |
|
| 901 |
+
num_images_gui = gr.Slider(minimum=1, maximum=8, step=1, value=1, label="Images")
|
| 902 |
prompt_syntax_gui = gr.Dropdown(label="Prompt Syntax", choices=PROMPT_W_OPTIONS, value=PROMPT_W_OPTIONS[1][1])
|
| 903 |
vae_model_gui = gr.Dropdown(label="VAE Model", choices=vae_model_list, value=vae_model_list[0])
|
| 904 |
|