Redmind commited on
Commit
5459b54
·
verified ·
1 Parent(s): af2db91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -51,11 +51,13 @@ def deepgram_transcribe(audio_file):
51
 
52
  response = deepgram.listen.prerecorded.v("1").transcribe_url(audio_file, options)
53
  print(response.to_json(indent=4))
 
 
54
 
55
  except Exception as e:
56
  print(f"Exception: {e}")
57
 
58
- return response
59
 
60
  def assemblyai_transcribe(audio_file):
61
  import assemblyai as aai
 
51
 
52
  response = deepgram.listen.prerecorded.v("1").transcribe_url(audio_file, options)
53
  print(response.to_json(indent=4))
54
+ return response
55
+
56
 
57
  except Exception as e:
58
  print(f"Exception: {e}")
59
 
60
+
61
 
62
  def assemblyai_transcribe(audio_file):
63
  import assemblyai as aai