Jiecong Lin commited on
Commit
c2b2f75
·
1 Parent(s): 5753de7

enable examples

Browse files
Files changed (1) hide show
  1. app.py +28 -28
app.py CHANGED
@@ -426,34 +426,34 @@ def seg_track_app():
426
  output_mp4 = gr.File(label="Predicted video")
427
  output_mask = gr.File(label="Predicted masks")
428
 
429
- # with gr.Tab(label='Video examples'):
430
- # gr.Examples(
431
- # label="",
432
- # examples=[
433
- # "assets/clip_012251_fps5_07_25.mp4",
434
- # "assets/FLARE22_Tr_0004.mp4",
435
- # "assets/FLARE22_Tr_0016.mp4",
436
- # "assets/FLARE22_Tr_0046.mp4",
437
- # "assets/c_elegans_mov_cut_fps12.mp4",
438
- # "assets/12fps_Dylan_Burnette_neutrophil.mp4",
439
- # "assets/12fps_Dancing_cells_trimmed.mp4",
440
- # ],
441
- # inputs=[input_video],
442
- # )
443
- # gr.Examples(
444
- # label="",
445
- # examples=[
446
- # "assets/12fps_volvox_microcystis_play_trimmed.mp4",
447
- # "assets/12fps_neuron_time_lapse.mp4",
448
- # "assets/12fps_macrophages_phagocytosis.mp4",
449
- # "assets/12fps_worm_eats_organism_3.mp4",
450
- # "assets/12fps_worm_eats_organism_4.mp4",
451
- # "assets/12fps_worm_eats_organism_5.mp4",
452
- # "assets/12fps_worm_eats_organism_6.mp4",
453
- # "assets/12fps_02_cups.mp4",
454
- # ],
455
- # inputs=[input_video],
456
- # )
457
  gr.Markdown(
458
  '''
459
  <div style="text-align:center; margin-top: 20px;">
 
426
  output_mp4 = gr.File(label="Predicted video")
427
  output_mask = gr.File(label="Predicted masks")
428
 
429
+ with gr.Tab(label='Video examples'):
430
+ gr.Examples(
431
+ label="",
432
+ examples=[
433
+ "assets/clip_012251_fps5_07_25.mp4",
434
+ "assets/FLARE22_Tr_0004.mp4",
435
+ "assets/FLARE22_Tr_0016.mp4",
436
+ "assets/FLARE22_Tr_0046.mp4",
437
+ "assets/c_elegans_mov_cut_fps12.mp4",
438
+ "assets/12fps_Dylan_Burnette_neutrophil.mp4",
439
+ "assets/12fps_Dancing_cells_trimmed.mp4",
440
+ ],
441
+ inputs=[input_video],
442
+ )
443
+ gr.Examples(
444
+ label="",
445
+ examples=[
446
+ "assets/12fps_volvox_microcystis_play_trimmed.mp4",
447
+ "assets/12fps_neuron_time_lapse.mp4",
448
+ "assets/12fps_macrophages_phagocytosis.mp4",
449
+ "assets/12fps_worm_eats_organism_3.mp4",
450
+ "assets/12fps_worm_eats_organism_4.mp4",
451
+ "assets/12fps_worm_eats_organism_5.mp4",
452
+ "assets/12fps_worm_eats_organism_6.mp4",
453
+ "assets/12fps_02_cups.mp4",
454
+ ],
455
+ inputs=[input_video],
456
+ )
457
  gr.Markdown(
458
  '''
459
  <div style="text-align:center; margin-top: 20px;">