changed random label to random seed

This commit is contained in:
Matthias Diehl 2024-01-16 07:35:49 +01:00
parent 6261f17561
commit 1aa7070e6c
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@
"Image Number": "Image Number", "Image Number": "Image Number",
"Negative Prompt": "Negative Prompt", "Negative Prompt": "Negative Prompt",
"Describing what you do not want to see.": "Describing what you do not want to see.", "Describing what you do not want to see.": "Describing what you do not want to see.",
"Random": "Random", "Random Seed": "Random Seed",
"Seed": "Seed", "Seed": "Seed",
"\ud83d\udcda History Log": "\uD83D\uDCDA History Log", "\ud83d\udcda History Log": "\uD83D\uDCDA History Log",
"Image Style": "Image Style", "Image Style": "Image Style",

View File

@ -234,7 +234,7 @@ with shared.gradio_root:
info='Describing what you do not want to see.', lines=2, info='Describing what you do not want to see.', lines=2,
elem_id='negative_prompt', elem_id='negative_prompt',
value=modules.config.default_prompt_negative) value=modules.config.default_prompt_negative)
seed_random = gr.Checkbox(label='Random', value=True) seed_random = gr.Checkbox(label='Random Seed', value=True)
image_seed = gr.Textbox(label='Seed', value=0, max_lines=1, visible=False) # workaround for https://github.com/gradio-app/gradio/issues/5354 image_seed = gr.Textbox(label='Seed', value=0, max_lines=1, visible=False) # workaround for https://github.com/gradio-app/gradio/issues/5354
def random_checked(r): def random_checked(r):