wasertech commited on
Commit
97ae6a8
1 Parent(s): 1c7c137

use api call

Browse files
Files changed (1) hide show
  1. singularity.py +1 -1
singularity.py CHANGED
@@ -144,7 +144,7 @@ No problem , it's my pleasure !
144
  sample_rate, data = audio
145
  data = data.tobytes()
146
  transcript = self.query_transcription(data)
147
- return transcript[0]
148
 
149
  def generate_prompt(self, instruction, input=None):
150
  if input:
 
144
  sample_rate, data = audio
145
  data = data.tobytes()
146
  transcript = self.query_transcription(data)
147
+ return transcript
148
 
149
  def generate_prompt(self, instruction, input=None):
150
  if input: