snicolau commited on
Commit
53ffb8e
Β·
verified Β·
1 Parent(s): f7a2e03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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
- inputs=img,
 
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,