Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ pipe = pipeline(
|
|
| 24 |
)
|
| 25 |
|
| 26 |
|
| 27 |
-
@spaces.GPU
|
| 28 |
def transcribe(inputs, task):
|
| 29 |
if inputs is None:
|
| 30 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|
|
|
|
| 24 |
)
|
| 25 |
|
| 26 |
|
| 27 |
+
@spaces.GPU(duration=500)
|
| 28 |
def transcribe(inputs, task):
|
| 29 |
if inputs is None:
|
| 30 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|