Spaces:
Build error
Build error
Alex Volkov
commited on
Commit
·
074b5e7
1
Parent(s):
3b1eecc
hide the time limit for direct uploads
Browse files- download.py +1 -1
download.py
CHANGED
@@ -34,7 +34,7 @@ def download_generator(url, translate_action=True, source_language='Autodetect',
|
|
34 |
try:
|
35 |
meta = check_download(url)
|
36 |
# print(json.dumps(meta, indent=2))
|
37 |
-
# if(meta['duration'] > 159):
|
38 |
# raise Exception("Video is too long, please use videos less than 159 seconds")
|
39 |
yield {"message": f"Found video with {meta['duration']} seconds duration from {meta['extractor']}", "meta": meta}
|
40 |
|
|
|
34 |
try:
|
35 |
meta = check_download(url)
|
36 |
# print(json.dumps(meta, indent=2))
|
37 |
+
# if(meta['duration'] > 159) :
|
38 |
# raise Exception("Video is too long, please use videos less than 159 seconds")
|
39 |
yield {"message": f"Found video with {meta['duration']} seconds duration from {meta['extractor']}", "meta": meta}
|
40 |
|