Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,13 +25,6 @@ def image_app():
|
|
25 |
)
|
26 |
with gr.Row():
|
27 |
with gr.Column():
|
28 |
-
seg_automask_image_points_per_batch = gr.Slider(
|
29 |
-
minimum=0,
|
30 |
-
maximum=64,
|
31 |
-
step=2,
|
32 |
-
value=64,
|
33 |
-
label="Points per Batch",
|
34 |
-
)
|
35 |
seg_automask_image_points_per_side = gr.Slider(
|
36 |
minimum=0,
|
37 |
maximum=32,
|
@@ -40,6 +33,13 @@ def image_app():
|
|
40 |
label="Points per Side",
|
41 |
)
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
seg_automask_image_predict = gr.Button(value="Generator")
|
45 |
|
@@ -82,13 +82,6 @@ def video_app():
|
|
82 |
|
83 |
with gr.Row():
|
84 |
with gr.Column():
|
85 |
-
seg_automask_video_points_per_batch = gr.Slider(
|
86 |
-
minimum=0,
|
87 |
-
maximum=64,
|
88 |
-
step=2,
|
89 |
-
value=64,
|
90 |
-
label="Points per Batch",
|
91 |
-
)
|
92 |
seg_automask_video_points_per_side = gr.Slider(
|
93 |
minimum=0,
|
94 |
maximum=32,
|
@@ -96,6 +89,15 @@ def video_app():
|
|
96 |
value=16,
|
97 |
label="Points per Side",
|
98 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
seg_automask_video_predict = gr.Button(value="Generator")
|
100 |
with gr.Column():
|
101 |
output_video = gr.Video()
|
|
|
25 |
)
|
26 |
with gr.Row():
|
27 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
seg_automask_image_points_per_side = gr.Slider(
|
29 |
minimum=0,
|
30 |
maximum=32,
|
|
|
33 |
label="Points per Side",
|
34 |
)
|
35 |
|
36 |
+
seg_automask_image_points_per_batch = gr.Slider(
|
37 |
+
minimum=0,
|
38 |
+
maximum=64,
|
39 |
+
step=2,
|
40 |
+
value=64,
|
41 |
+
label="Points per Batch",
|
42 |
+
)
|
43 |
|
44 |
seg_automask_image_predict = gr.Button(value="Generator")
|
45 |
|
|
|
82 |
|
83 |
with gr.Row():
|
84 |
with gr.Column():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
seg_automask_video_points_per_side = gr.Slider(
|
86 |
minimum=0,
|
87 |
maximum=32,
|
|
|
89 |
value=16,
|
90 |
label="Points per Side",
|
91 |
)
|
92 |
+
|
93 |
+
seg_automask_video_points_per_batch = gr.Slider(
|
94 |
+
minimum=0,
|
95 |
+
maximum=64,
|
96 |
+
step=2,
|
97 |
+
value=64,
|
98 |
+
label="Points per Batch",
|
99 |
+
)
|
100 |
+
|
101 |
seg_automask_video_predict = gr.Button(value="Generator")
|
102 |
with gr.Column():
|
103 |
output_video = gr.Video()
|