Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -182,11 +182,10 @@ def main():
|
|
182 |
words_per_minute = 65
|
183 |
words_per_second = words_per_minute / 60
|
184 |
|
185 |
-
#
|
186 |
-
duration_options =
|
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 |
|