tsi-org commited on
Commit
baa2c9c
1 Parent(s): 627329c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -182,11 +182,10 @@ def main():
182
  words_per_minute = 65
183
  words_per_second = words_per_minute / 60
184
 
185
- # Include 4 seconds in the duration options
186
- duration_options = [4] + list(range(10, 121, 10))
187
  selected_duration_seconds = st.selectbox('Select the desired video duration (seconds)', duration_options)
188
 
189
-
190
  # duration_options = list(range(10, 121, 10)) # 10 to 120 seconds, in 10-second intervals
191
  # selected_duration_seconds = st.selectbox('Select the desired video duration (seconds)', duration_options)
192
 
 
182
  words_per_minute = 65
183
  words_per_second = words_per_minute / 60
184
 
185
+ # Update duration_options to include intervals of 2 seconds from 2 to 120
186
+ duration_options = list(range(2, 121, 2)) # Starts at 2, ends at 120, steps by 2
187
  selected_duration_seconds = st.selectbox('Select the desired video duration (seconds)', duration_options)
188
 
 
189
  # duration_options = list(range(10, 121, 10)) # 10 to 120 seconds, in 10-second intervals
190
  # selected_duration_seconds = st.selectbox('Select the desired video duration (seconds)', duration_options)
191