Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ pipe = pipeline(
|
|
71 |
)
|
72 |
|
73 |
@spaces.GPU(queue=False)
|
74 |
-
def transcribe(
|
75 |
if inputs is None:
|
76 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|
77 |
|
|
|
71 |
)
|
72 |
|
73 |
@spaces.GPU(queue=False)
|
74 |
+
def transcribe(inputs):
|
75 |
if inputs is None:
|
76 |
raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
|
77 |
|