Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def convert_to_vtt(whisper_output):
|
|
| 58 |
|
| 59 |
return vtt_output
|
| 60 |
|
| 61 |
-
@spaces.GPU
|
| 62 |
def transcribe(inputs):
|
| 63 |
if inputs is None:
|
| 64 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|
|
|
|
| 58 |
|
| 59 |
return vtt_output
|
| 60 |
|
| 61 |
+
@spaces.GPU(duration=600)
|
| 62 |
def transcribe(inputs):
|
| 63 |
if inputs is None:
|
| 64 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|