Spaces:
Sleeping
Sleeping
pablo-sampaio
commited on
Commit
•
ab00272
1
Parent(s):
4bb2add
Update app.py
Browse files
app.py
CHANGED
@@ -230,7 +230,7 @@ else:
|
|
230 |
def transcribe(audio_file):
|
231 |
if USE_LOCAL_ASR_PIPELINE:
|
232 |
response = ASR_PIPELINE(audio_file)
|
233 |
-
text = response[
|
234 |
|
235 |
else:
|
236 |
# using serverless API
|
|
|
230 |
def transcribe(audio_file):
|
231 |
if USE_LOCAL_ASR_PIPELINE:
|
232 |
response = ASR_PIPELINE(audio_file)
|
233 |
+
text = response["text"]
|
234 |
|
235 |
else:
|
236 |
# using serverless API
|