Spaces:
Running
Running
Sebastiankay
commited on
Commit
•
db04d8d
1
Parent(s):
d4c4975
24. Sept. 2024, 22:22
Browse files
app.py
CHANGED
@@ -179,7 +179,7 @@ with gr.Blocks(theme=theme, head=custom_head, css=custom_css, js=custom_js, titl
|
|
179 |
image_ratio_buttons = gr.Radio(["16:9", "4:3", "3:2", "1:1"], value="3:2", label="Querformat", show_label=True, info="Die gängigsten Seitenverhältnissen.", interactive=True, elem_id="image_ratio_buttons", elem_classes="image-ratio-buttons", container=True, scale=2)
|
180 |
switch_width_height = gr.Button("", size="sm", elem_id="switch_width_height", elem_classes="switch-ratio-btn", variant="primary", scale=1)
|
181 |
with gr.Column():
|
182 |
-
image_seed = gr.Slider(label="Seed", info="Jeder Seed generiert ein anderes Bild mit dem selben Prompt", minimum=0, step=1, value=
|
183 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=False)
|
184 |
|
185 |
with gr.Column(scale=4): # min_width=600,
|
|
|
179 |
image_ratio_buttons = gr.Radio(["16:9", "4:3", "3:2", "1:1"], value="3:2", label="Querformat", show_label=True, info="Die gängigsten Seitenverhältnissen.", interactive=True, elem_id="image_ratio_buttons", elem_classes="image-ratio-buttons", container=True, scale=2)
|
180 |
switch_width_height = gr.Button("", size="sm", elem_id="switch_width_height", elem_classes="switch-ratio-btn", variant="primary", scale=1)
|
181 |
with gr.Column():
|
182 |
+
image_seed = gr.Slider(label="Seed", info="Jeder Seed generiert ein anderes Bild mit dem selben Prompt", minimum=0, step=1, value=4321, maximum=MAX_SEED, elem_id="image_seed", elem_classes="image-seed hide-progress")
|
183 |
randomize_seed = gr.Checkbox(label="Randomize seed", value=False)
|
184 |
|
185 |
with gr.Column(scale=4): # min_width=600,
|