You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
whisper save all last requests :
like i send one file and get transcribe of them, after i send new one. that return me all outputs
Transcribe {"text" : "First audio text"}
second time when i am calling that return me
{ "text" : "First audio text "},
{"text" : "second audio text"}
My function
def transcribe(self, audio):
result = self.speech2text_model.transcribe(audio, condition_on_previous_text=False)
results = result['segments']
result = [{'text': item['text'], 'start': item['start'], 'end': item['end']} for item in results]
return result
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
whisper save all last requests :
like i send one file and get transcribe of them, after i send new one. that return me all outputs
Transcribe {"text" : "First audio text"}
second time when i am calling that return me
{ "text" : "First audio text "},
{"text" : "second audio text"}
My function
Beta Was this translation helpful? Give feedback.
All reactions