Vithika commited on
Commit
c3994cd
1 Parent(s): cfe9686

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -349,13 +349,14 @@ def generate_caption_any(image_path):
349
 
350
  def main():
351
  st.title("ISRO Video Classification & Captioning")
352
- st.write('In this project, we introduce a technique for video classification and captioning, harnessing a keyframe extraction method to streamline the process. Utilizing Densenet 201, our model is designed to classify videos by focusing on the most crucial frame, optimizing efficiency and performance. Users can experience our innovative approach by employing any of the provided three videos or by uploading additional ISRO footage to witness the improved model in action.')
353
 
354
  video_options = {
355
- "Video 1": "Video001-Scene-001.mp4",
356
- "Video 2": "Video015-Scene-074.mp4",
357
- "Video 3": "Video005-Scene-043.mp4",
358
- }
 
359
 
360
  selected_video = st.selectbox("Select a video to submit", list(video_options.keys()))
361
  video_path = video_options[selected_video]
 
349
 
350
  def main():
351
  st.title("ISRO Video Classification & Captioning")
352
+ st.write('In this project, we introduce a technique for video classification and captioning, harnessing a keyframe extraction method to streamline the process. Utilizing Densenet 201, our model is designed to classify videos by focusing on the most crucial frame, optimizing efficiency and performance. Users can experience our innovative approach by employing any of the provided three videos which have provided as an example')
353
 
354
  video_options = {
355
+ "Video 1": "Video001-Scene-001.mp4",
356
+ "Video 2": "Video015-Scene-074.mp4",
357
+ "Video 3": "Video005-Scene-043.mp4",
358
+ "Video 4": "Video002-Scene-023.mp4",
359
+ }
360
 
361
  selected_video = st.selectbox("Select a video to submit", list(video_options.keys()))
362
  video_path = video_options[selected_video]