fffiloni commited on
Commit
6714e7d
1 Parent(s): 9615660

added some examples to the auto method

Browse files
Files changed (1) hide show
  1. app.py +23 -0
app.py CHANGED
@@ -332,6 +332,29 @@ with gr.Blocks(css=css) as demo:
332
 
333
  submit_auto_btn = gr.Button("Submit")
334
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  with gr.Column():
336
  gr.Markdown("""
337
  ### Results
 
332
 
333
  submit_auto_btn = gr.Button("Submit")
334
 
335
+ gr.Examples(
336
+ examples = [
337
+ [
338
+ "example_1",
339
+ "hf-examples/knight.mp4",
340
+ "knight"
341
+ ],
342
+ [
343
+ "example_2",
344
+ "hf-examples/knight.mp4",
345
+ "horse"
346
+ ],
347
+ [
348
+ "example_3",
349
+ "hf-examples/knight.mp4",
350
+ "tail"
351
+ ]
352
+ ],
353
+ fn = infer_auto,
354
+ inputs=[project_name_2, video_in, subject_to_remove],
355
+ #outputs=[res_masked, res_files]
356
+ )
357
+
358
  with gr.Column():
359
  gr.Markdown("""
360
  ### Results