wieheistdu commited on
Commit
866adf9
·
1 Parent(s): 03ee8e0

Add example video

Browse files
Files changed (1) hide show
  1. gradio_demo/vdo_page.py +5 -0
gradio_demo/vdo_page.py CHANGED
@@ -62,6 +62,11 @@ with gr.Blocks(title="🎞️ Video to Nailfold Features") as vdo_demo:
62
  video_input = gr.Video(label="Upload Video File")
63
  mm_per_pixel = gr.Number(label="1 mm equals (pixels)", value=587, step=1)
64
  extract_btn = gr.Button("Extract & Analyze")
 
 
 
 
 
65
 
66
  with gr.Column():
67
  midframe_output = gr.Image(label="Extracted Midframe Visualization")
 
62
  video_input = gr.Video(label="Upload Video File")
63
  mm_per_pixel = gr.Number(label="1 mm equals (pixels)", value=587, step=1)
64
  extract_btn = gr.Button("Extract & Analyze")
65
+ gr.Examples(
66
+ examples=[["assets/example_video.mpg", 587]],
67
+ inputs=[video_input, mm_per_pixel],
68
+ label="Try with Example",
69
+ )
70
 
71
  with gr.Column():
72
  midframe_output = gr.Image(label="Extracted Midframe Visualization")