Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -38,9 +38,9 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
38 |
negative_suffix = gr.CheckboxGroup(label="Use Negative Suffix", choices=get_negative_suffix(), value=["Common"])
|
39 |
image_num = gr.Slider(label="Number of images", minimum=1, maximum=max_images, value=1, step=1, interactive=True, scale=1)
|
40 |
with gr.Row():
|
41 |
-
run_button = gr.Button("Generate Image", scale=6)
|
42 |
random_button = gr.Button("Random Model π²", variant="secondary", scale=3)
|
43 |
-
stop_button = gr.Button('Stop', interactive=False, variant="
|
44 |
with gr.Group():
|
45 |
model_name = gr.Dropdown(label="Select Model", choices=list(loaded_models.keys()), value=list(loaded_models.keys())[0], allow_custom_value=True)
|
46 |
model_info = gr.Markdown(value=get_model_info_md(list(loaded_models.keys())[0]), elem_classes="model_info")
|
|
|
38 |
negative_suffix = gr.CheckboxGroup(label="Use Negative Suffix", choices=get_negative_suffix(), value=["Common"])
|
39 |
image_num = gr.Slider(label="Number of images", minimum=1, maximum=max_images, value=1, step=1, interactive=True, scale=1)
|
40 |
with gr.Row():
|
41 |
+
run_button = gr.Button("Generate Image", variant="primary", scale=6)
|
42 |
random_button = gr.Button("Random Model π²", variant="secondary", scale=3)
|
43 |
+
stop_button = gr.Button('Stop', interactive=False, variant="stop", scale=1)
|
44 |
with gr.Group():
|
45 |
model_name = gr.Dropdown(label="Select Model", choices=list(loaded_models.keys()), value=list(loaded_models.keys())[0], allow_custom_value=True)
|
46 |
model_info = gr.Markdown(value=get_model_info_md(list(loaded_models.keys())[0]), elem_classes="model_info")
|