pizb commited on
Commit
9e49a10
·
1 Parent(s): d879d3f

app update

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -484,6 +484,9 @@ with gr.Blocks(title="VideoMaMa Demo") as demo:
484
  gr.Markdown(
485
  '<div class="description-text">🎬 Upload a video → 🖱️ Click to mark object → ✅ Generate masks → 🎨 Run VideoMaMa</div>'
486
  )
 
 
 
487
 
488
  # State variables
489
  video_state = gr.State(None)
@@ -495,11 +498,11 @@ with gr.Blocks(title="VideoMaMa Demo") as demo:
495
  video_input = gr.Video(label="Input Video")
496
  num_frames_slider = gr.Slider(
497
  minimum=1,
498
- maximum=50,
499
  value=24,
500
  step=1,
501
- label="Number of Frames",
502
- info="More frames = better quality but slower processing"
503
  )
504
  load_button = gr.Button("📁 Load Video", variant="primary")
505
 
 
484
  gr.Markdown(
485
  '<div class="description-text">🎬 Upload a video → 🖱️ Click to mark object → ✅ Generate masks → 🎨 Run VideoMaMa</div>'
486
  )
487
+ gr.Markdown(
488
+ '<div style="text-align: center; color: #6b7280; font-size: 14px; margin-top: -10px;">Note: VideoMaMa processes the selected number of frames (1-40). Longer videos will be randomly sampled.</div>'
489
+ )
490
 
491
  # State variables
492
  video_state = gr.State(None)
 
498
  video_input = gr.Video(label="Input Video")
499
  num_frames_slider = gr.Slider(
500
  minimum=1,
501
+ maximum=40,
502
  value=24,
503
  step=1,
504
+ label="Number of Frames to Process",
505
+ info="VideoMaMa will process only this many frames. More frames will be slower."
506
  )
507
  load_button = gr.Button("📁 Load Video", variant="primary")
508