Commit
·
c5c5b67
1
Parent(s):
1f8d235
verbose logs
Browse files
app.py
CHANGED
|
@@ -187,7 +187,8 @@ def process(
|
|
| 187 |
|
| 188 |
if duration > 40:
|
| 189 |
info = f"""
|
| 190 |
-
Input audio is too long.
|
|
|
|
| 191 |
Please switch to
|
| 192 |
https://huggingface.co/spaces/k2-fsa/generate-subtitles-for-videos
|
| 193 |
for long audios.
|
|
|
|
| 187 |
|
| 188 |
if duration > 40:
|
| 189 |
info = f"""
|
| 190 |
+
Input audio is too long ({duration} seconds).
|
| 191 |
+
We accept only up to 40-second audio files.
|
| 192 |
Please switch to
|
| 193 |
https://huggingface.co/spaces/k2-fsa/generate-subtitles-for-videos
|
| 194 |
for long audios.
|