Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -462,12 +462,12 @@ with gr.Blocks() as app:
|
|
| 462 |
unseen_tags = gr.HTML(label="Unseen Tags")
|
| 463 |
|
| 464 |
with gr.Row():
|
| 465 |
-
with gr.Column():
|
| 466 |
num_artists = gr.Slider(minimum=1, maximum=100, value=10, step=1, label="Number of artists")
|
| 467 |
top_artists = gr.Textbox(label="Top Artists", info="These are the artists most strongly associated with your tags. The number in parentheses is a similarity score between 0 and 1, with higher numbers indicating greater similarity.")
|
| 468 |
dynamic_prompts = gr.Textbox(label="Dynamic Prompts Format", info="For if you're using the Automatic1111 webui (https://github.com/AUTOMATIC1111/stable-diffusion-webui) with the Dynamic Prompts extension activated (https://github.com/adieyal/sd-dynamic-prompts) and want to try them all individually.")
|
| 469 |
-
with gr.Column():
|
| 470 |
-
styles = gr.Gallery(label="Styles", preview=True, container=True,
|
| 471 |
|
| 472 |
|
| 473 |
submit_button.click(
|
|
|
|
| 462 |
unseen_tags = gr.HTML(label="Unseen Tags")
|
| 463 |
|
| 464 |
with gr.Row():
|
| 465 |
+
with gr.Column(scale=1):
|
| 466 |
num_artists = gr.Slider(minimum=1, maximum=100, value=10, step=1, label="Number of artists")
|
| 467 |
top_artists = gr.Textbox(label="Top Artists", info="These are the artists most strongly associated with your tags. The number in parentheses is a similarity score between 0 and 1, with higher numbers indicating greater similarity.")
|
| 468 |
dynamic_prompts = gr.Textbox(label="Dynamic Prompts Format", info="For if you're using the Automatic1111 webui (https://github.com/AUTOMATIC1111/stable-diffusion-webui) with the Dynamic Prompts extension activated (https://github.com/adieyal/sd-dynamic-prompts) and want to try them all individually.")
|
| 469 |
+
with gr.Column(scale=3):
|
| 470 |
+
styles = gr.Gallery(label="Styles", allow_preview=True, preview=True, container=True, selected_index=0)
|
| 471 |
|
| 472 |
|
| 473 |
submit_button.click(
|