Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -114,9 +114,10 @@ def main():
|
|
114 |
# If 'Video to Image' conversion, ask for time in seconds
|
115 |
if conversion_type == 'Video to Image':
|
116 |
time_in_seconds = st.slider(
|
117 |
-
"Time (in seconds) for image extraction",
|
118 |
min_value=0,
|
119 |
-
max_value=video_duration,
|
|
|
120 |
step=1
|
121 |
)
|
122 |
else:
|
|
|
114 |
# If 'Video to Image' conversion, ask for time in seconds
|
115 |
if conversion_type == 'Video to Image':
|
116 |
time_in_seconds = st.slider(
|
117 |
+
label="Time (in seconds) for image extraction",
|
118 |
min_value=0,
|
119 |
+
max_value=int(video_duration),
|
120 |
+
value=0,
|
121 |
step=1
|
122 |
)
|
123 |
else:
|