Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ with gr.Blocks() as instance:
|
|
68 |
value=0,
|
69 |
)
|
70 |
|
71 |
-
|
72 |
|
73 |
with gr.Row():
|
74 |
width = gr.Slider(
|
@@ -99,7 +99,7 @@ with gr.Blocks() as instance:
|
|
99 |
fn=random_seed,
|
100 |
inputs=[
|
101 |
seed,
|
102 |
-
|
103 |
],
|
104 |
outputs=seed
|
105 |
).then(
|
|
|
68 |
value=0,
|
69 |
)
|
70 |
|
71 |
+
is_random_seed = gr.Checkbox(label="Random seed", value=True)
|
72 |
|
73 |
with gr.Row():
|
74 |
width = gr.Slider(
|
|
|
99 |
fn=random_seed,
|
100 |
inputs=[
|
101 |
seed,
|
102 |
+
is_random_seed
|
103 |
],
|
104 |
outputs=seed
|
105 |
).then(
|