Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -167,11 +167,12 @@ with gr.Blocks() as demo:
|
|
167 |
print(os.path.dirname(__file__))
|
168 |
|
169 |
gr.Examples(
|
170 |
-
examples=[os.path.join(os.getcwd(), "examples/002.jpg"),
|
171 |
-
os.path.join(os.getcwd(), "examples/013.jpg"),
|
172 |
-
os.path.join(os.getcwd(), "examples/014.jpg"),
|
173 |
-
os.path.join(os.getcwd(), "examples/015.jpg")]
|
174 |
-
|
|
|
175 |
outputs=img_out,
|
176 |
fn=remove_people,
|
177 |
cache_examples=True,
|
|
|
167 |
print(os.path.dirname(__file__))
|
168 |
|
169 |
gr.Examples(
|
170 |
+
examples=[[os.path.join(os.getcwd(), "examples/002.jpg"), 2, 15],
|
171 |
+
[os.path.join(os.getcwd(), "examples/013.jpg"), 1, 15],
|
172 |
+
[os.path.join(os.getcwd(), "examples/014.jpg"), 1, 15],
|
173 |
+
[os.path.join(os.getcwd(), "examples/015.jpg"), 1, 15]
|
174 |
+
[os.path.join(os.getcwd(), "examples/002.jpg"), 0, 15],],
|
175 |
+
inputs=[img, num_people_keep, dilate_kernel_size],
|
176 |
outputs=img_out,
|
177 |
fn=remove_people,
|
178 |
cache_examples=True,
|