akazmi commited on
Commit
a1243ef
·
verified ·
1 Parent(s): 17ee1ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -114,8 +114,8 @@ def main():
114
  gr.Markdown("**Core Idea:** Describe video content through generated text.\n"
115
  "**Functionality:** Provides textual descriptions of video frames, aiding understanding for those who cannot see the video.\n"
116
  "**Target Audience:** Individuals with visual impairments and those needing assistance in interpreting video content.")
117
- gr.Markdown("Supported Input: **MP4, AVI, MKV**. \nOutput: **List of text descriptions**.")
118
- video_input = gr.File(label="Upload a Video")
119
  video_desc_output = gr.Textbox(label="Video Descriptions")
120
  video_desc_button = gr.Button("Describe Video")
121
  video_desc_button.click(fn=generate_video_description, inputs=video_input, outputs=video_desc_output)
 
114
  gr.Markdown("**Core Idea:** Describe video content through generated text.\n"
115
  "**Functionality:** Provides textual descriptions of video frames, aiding understanding for those who cannot see the video.\n"
116
  "**Target Audience:** Individuals with visual impairments and those needing assistance in interpreting video content.")
117
+ gr.Markdown("Supported Input: **MP4, AVI, MOV**. \nOutput: **List of text descriptions**.")
118
+ video_input = gr.File(label="Upload a Video", file_types=[".mp4", ".avi", ".mov"])
119
  video_desc_output = gr.Textbox(label="Video Descriptions")
120
  video_desc_button = gr.Button("Describe Video")
121
  video_desc_button.click(fn=generate_video_description, inputs=video_input, outputs=video_desc_output)