Change the default value to 6
Browse files
app.py
CHANGED
@@ -35,11 +35,11 @@ demo = gr.Interface(
|
|
35 |
gr.Slider(label='The maximum number of pseudo-masks per image',
|
36 |
minimum=1,
|
37 |
maximum=20,
|
38 |
-
value=
|
39 |
step=1),
|
40 |
],
|
41 |
outputs=gr.Image(label='Result', type='numpy'),
|
42 |
-
examples=[[path.as_posix(), 0.15,
|
43 |
title=TITLE,
|
44 |
description=DESCRIPTION)
|
45 |
demo.queue().launch()
|
|
|
35 |
gr.Slider(label='The maximum number of pseudo-masks per image',
|
36 |
minimum=1,
|
37 |
maximum=20,
|
38 |
+
value=6,
|
39 |
step=1),
|
40 |
],
|
41 |
outputs=gr.Image(label='Result', type='numpy'),
|
42 |
+
examples=[[path.as_posix(), 0.15, 6] for path in paths],
|
43 |
title=TITLE,
|
44 |
description=DESCRIPTION)
|
45 |
demo.queue().launch()
|