product2204 commited on
Commit
c4bc9a3
·
verified ·
1 Parent(s): 4753079

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def transcribe_audio(audio_path, api_key):
56
 
57
  #print(response.to_json(indent=4))
58
  print("")
59
- transcripts = response['results']['channels'][0]['alternatives'][0]['transcript'][0]
60
 
61
  return transcripts
62
 
 
56
 
57
  #print(response.to_json(indent=4))
58
  print("")
59
+ transcripts = response['results']['channels'][0]['alternatives'][0]['transcript']
60
 
61
  return transcripts
62