awacke1 commited on
Commit
d913e50
1 Parent(s): d11d487

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = float(video_text_input)
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.")