Spaces:
Running
on
Zero
Running
on
Zero
Miquel Farre
commited on
Commit
·
d068f9e
1
Parent(s):
4d51215
asd
Browse files
app.py
CHANGED
@@ -264,7 +264,7 @@ def create_ui(examples_path: str, model_path: str):
|
|
264 |
|
265 |
try:
|
266 |
duration = get_video_duration_seconds(video)
|
267 |
-
if duration >
|
268 |
yield [
|
269 |
"Video must be shorter than 30 minutes",
|
270 |
"",
|
|
|
264 |
|
265 |
try:
|
266 |
duration = get_video_duration_seconds(video)
|
267 |
+
if duration > 18000: # 30 minutes
|
268 |
yield [
|
269 |
"Video must be shorter than 30 minutes",
|
270 |
"",
|