Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -53,16 +53,17 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
53 |
negative_suffix = gr.CheckboxGroup(label="Use Negative Suffix", choices=get_negative_suffix(), value=["Common"])
|
54 |
|
55 |
with gr.Row(equal_height=True):
|
56 |
-
run_button = gr.Button("Generate Image", variant="primary", scale=
|
57 |
-
random_button = gr.Button("Random Model 🎲", variant="secondary", scale=
|
58 |
-
|
|
|
|
|
|
|
59 |
|
60 |
|
61 |
with gr.Column(scale=10):
|
62 |
with gr.Group():
|
63 |
-
|
64 |
-
image_num = gr.Slider(label="Number of images", minimum=1, maximum=max_images, value=1, step=1, interactive=True, scale=2)
|
65 |
-
with gr.Row():
|
66 |
output = [gr.Image(label='', elem_classes="output", type="filepath", format="png",
|
67 |
show_download_button=True, show_share_button=False, show_label=False,
|
68 |
interactive=False, min_width=80, visible=True, width=112, height=112) for _ in range(max_images)]
|
|
|
53 |
negative_suffix = gr.CheckboxGroup(label="Use Negative Suffix", choices=get_negative_suffix(), value=["Common"])
|
54 |
|
55 |
with gr.Row(equal_height=True):
|
56 |
+
run_button = gr.Button("Generate Image", variant="primary", scale=4)
|
57 |
+
random_button = gr.Button("Random Model 🎲", variant="secondary", scale=2)
|
58 |
+
stop_button = gr.Button('Stop', variant="stop", interactive=False, scale=2)
|
59 |
+
with gr.Row(equal_height=True):
|
60 |
+
image_num = gr.Slider(label="Number of images", minimum=1, maximum=max_images, value=1, step=1, interactive=True, scale=2)
|
61 |
+
|
62 |
|
63 |
|
64 |
with gr.Column(scale=10):
|
65 |
with gr.Group():
|
66 |
+
with gr.Row():
|
|
|
|
|
67 |
output = [gr.Image(label='', elem_classes="output", type="filepath", format="png",
|
68 |
show_download_button=True, show_share_button=False, show_label=False,
|
69 |
interactive=False, min_width=80, visible=True, width=112, height=112) for _ in range(max_images)]
|