Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -163,15 +163,12 @@ with gr.Blocks() as demo:
|
|
| 163 |
[img, features, img_out]
|
| 164 |
)
|
| 165 |
|
| 166 |
-
print(os.getcwd())
|
| 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,
|
|
|
|
| 163 |
[img, features, img_out]
|
| 164 |
)
|
| 165 |
|
|
|
|
|
|
|
|
|
|
| 166 |
gr.Examples(
|
| 167 |
examples=[[os.path.join(os.getcwd(), "examples/002.jpg"), 2, 15],
|
| 168 |
[os.path.join(os.getcwd(), "examples/013.jpg"), 1, 15],
|
| 169 |
[os.path.join(os.getcwd(), "examples/014.jpg"), 1, 15],
|
| 170 |
+
[os.path.join(os.getcwd(), "examples/015.jpg"), 1, 15],
|
| 171 |
+
[os.path.join(os.getcwd(), "examples/002.jpg"), 0, 15]],
|
| 172 |
inputs=[img, num_people_keep, dilate_kernel_size],
|
| 173 |
outputs=img_out,
|
| 174 |
fn=remove_people,
|