pablo-sampaio commited on
Commit
ab00272
1 Parent(s): 4bb2add

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[0]["text"]
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