Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -1177,7 +1177,7 @@ def display_videos_and_links(num_columns):
|
|
1177 |
video_text_input = st.text_input(f"Video Prompt for {video_file}", key=f"video_prompt_{video_file}")
|
1178 |
if video_text_input:
|
1179 |
try:
|
1180 |
-
seconds_per_frame =
|
1181 |
process_video(video_file, seconds_per_frame)
|
1182 |
except ValueError:
|
1183 |
st.error(f"Invalid input for seconds per frame: {video_text_input}. Please enter a valid number.")
|
|
|
1177 |
video_text_input = st.text_input(f"Video Prompt for {video_file}", key=f"video_prompt_{video_file}")
|
1178 |
if video_text_input:
|
1179 |
try:
|
1180 |
+
seconds_per_frame = 10
|
1181 |
process_video(video_file, seconds_per_frame)
|
1182 |
except ValueError:
|
1183 |
st.error(f"Invalid input for seconds per frame: {video_text_input}. Please enter a valid number.")
|