Spaces:
Running
Running
commit
Browse files
app.py
CHANGED
|
@@ -102,13 +102,13 @@ def display_video(column, video_path, video_name):
|
|
| 102 |
with col1:
|
| 103 |
file_path = os.path.join("app_input", selected_video)
|
| 104 |
video_name = selected_video.split(".")[0]
|
| 105 |
-
display_video(col1, file_path, video_name)
|
| 106 |
# Displaying the next video in the second column
|
| 107 |
with col2:
|
| 108 |
st.info("Expected Result !")
|
| 109 |
next_file_path = os.path.join("app_input", next_video)
|
| 110 |
next_video_name = next_video.split(".")[0]
|
| 111 |
-
display_video(col2, next_file_path, next_video_name)
|
| 112 |
|
| 113 |
|
| 114 |
# Assuming further processing (like generating predictions) is only intended for the first (selected) video
|
|
|
|
| 102 |
with col1:
|
| 103 |
file_path = os.path.join("app_input", selected_video)
|
| 104 |
video_name = selected_video.split(".")[0]
|
| 105 |
+
display_video(col1, file_path, video_name,width=320)
|
| 106 |
# Displaying the next video in the second column
|
| 107 |
with col2:
|
| 108 |
st.info("Expected Result !")
|
| 109 |
next_file_path = os.path.join("app_input", next_video)
|
| 110 |
next_video_name = next_video.split(".")[0]
|
| 111 |
+
display_video(col2, next_file_path, next_video_name ,width=320)
|
| 112 |
|
| 113 |
|
| 114 |
# Assuming further processing (like generating predictions) is only intended for the first (selected) video
|