Update app.py
Browse files
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
|
353 |
|
354 |
video_options = {
|
355 |
-
|
356 |
-
|
357 |
-
|
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]
|