Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,8 +16,8 @@ random_seed = random.randint(0, 2147483647)
|
|
16 |
gr.Interface(
|
17 |
predict,
|
18 |
inputs=[
|
19 |
-
gr.
|
20 |
-
gr.
|
21 |
],
|
22 |
outputs=gr.Image(shape=[128,128], type="pil", elem_id="output_image"),
|
23 |
css="#output_image{width: 256px}",
|
|
|
16 |
gr.Interface(
|
17 |
predict,
|
18 |
inputs=[
|
19 |
+
gr.Slider(1, 100, label='Inference Steps', default=5, step=1),
|
20 |
+
gr.Slider(0, 2147483647, label='Seed', default=random_seed, step=1),
|
21 |
],
|
22 |
outputs=gr.Image(shape=[128,128], type="pil", elem_id="output_image"),
|
23 |
css="#output_image{width: 256px}",
|