vericudebuget commited on
Commit
2a12f47
·
verified ·
1 Parent(s): 0ab392d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -271,8 +271,8 @@ if uploaded_video:
271
  video_duration = get_video_length(temp_video.name)
272
  os.unlink(temp_video.name) # Clean up temp file
273
 
274
- # Subtitle generation toggle, disabled if video is longer than 1 hour
275
- should_generate_subs = st.toggle("Generate Subtitles.", disabled=video_duration > 7200, value=True) # Renamed variable
276
 
277
 
278
  if video_duration > 1180:
 
271
  video_duration = get_video_length(temp_video.name)
272
  os.unlink(temp_video.name) # Clean up temp file
273
 
274
+ # Subtitle generation toggle, disabled if video is longer than 2 hours
275
+ should_generate_subs = st.toggle("Generate Subtitles. - If enabled, the subtitles will automatically be translated into English.", disabled=video_duration > 7200, value=True) # Renamed variable
276
 
277
 
278
  if video_duration > 1180: