Spaces:
Running
Running
Commit
·
f5e0bf6
1
Parent(s):
129b6dc
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,7 @@ def get_audio(url):
|
|
| 19 |
a = new_file
|
| 20 |
return a
|
| 21 |
else:
|
|
|
|
| 22 |
return ""
|
| 23 |
|
| 24 |
def get_text(url):
|
|
|
|
| 19 |
a = new_file
|
| 20 |
return a
|
| 21 |
else:
|
| 22 |
+
raise gr.Error("Videos for transcription on this space are limited to 1.5 hours.")
|
| 23 |
return ""
|
| 24 |
|
| 25 |
def get_text(url):
|