more fixes for latest gradio

This commit is contained in:
AUTOMATIC1111
2024-03-02 08:40:06 +03:00
parent f7a3067d2a
commit 50699ce112
2 changed files with 11 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ class ScriptSeed(scripts.ScriptBuiltinUI):
random_seed = ToolButton(ui.random_symbol, elem_id=self.elem_id("random_seed"), tooltip="Set seed to -1, which will cause a new random number to be used every time")
reuse_seed = ToolButton(ui.reuse_symbol, elem_id=self.elem_id("reuse_seed"), tooltip="Reuse seed from last generation, mostly useful if it was randomized")
seed_checkbox = gr.Checkbox(label='Extra', elem_id=self.elem_id("subseed_show"), value=False)
seed_checkbox = gr.Checkbox(label='Extra', elem_id=self.elem_id("subseed_show"), value=False, scale=0, min_width=60)
with gr.Group(visible=False, elem_id=self.elem_id("seed_extras")) as seed_extras:
with gr.Row(elem_id=self.elem_id("subseed_row")):