Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -72,9 +72,9 @@ with gr.Blocks(theme="NoCrypt/miku@>=1.2.2", fill_width=True, css=css) as demo:
|
|
72 |
|
73 |
image_num = gr.Slider(label="Number of images", minimum=1, maximum=max_images, value=1, step=1, interactive=True, scale=1)
|
74 |
with gr.Row():
|
75 |
-
run_button = gr.Button("Generate Image", scale=6)
|
76 |
random_button = gr.Button("Random Model π²", variant="secondary", scale=3)
|
77 |
-
stop_button = gr.Button('Stop', variant="
|
78 |
with gr.Group():
|
79 |
model_name = gr.Dropdown(label="Select Model", choices=list(loaded_models.keys()), value=list(loaded_models.keys())[0], allow_custom_value=True)
|
80 |
model_info = gr.Markdown(value=get_model_info_md(list(loaded_models.keys())[0]), elem_classes="model_info")
|
|
|
72 |
|
73 |
image_num = gr.Slider(label="Number of images", minimum=1, maximum=max_images, value=1, step=1, interactive=True, scale=1)
|
74 |
with gr.Row():
|
75 |
+
run_button = gr.Button("Generate Image", variant="primary", scale=6)
|
76 |
random_button = gr.Button("Random Model π²", variant="secondary", scale=3)
|
77 |
+
stop_button = gr.Button('Stop', variant="stop", interactive=False, scale=1)
|
78 |
with gr.Group():
|
79 |
model_name = gr.Dropdown(label="Select Model", choices=list(loaded_models.keys()), value=list(loaded_models.keys())[0], allow_custom_value=True)
|
80 |
model_info = gr.Markdown(value=get_model_info_md(list(loaded_models.keys())[0]), elem_classes="model_info")
|