-
-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
I am trying to align a text and I don't get how to use the inference function, when I use this code, I get an error
`import stable_whisper
from stable_whisper import non_whisper
model = stable_whisper.load_model('base')
result = non_whisper.Aligner(model.transcribe,"outvideo.mp3",assembled_text)
myencoder = stable_whisper.load_model('base').encoder()
mydecoder = stable_whisper.load_model('base').decoder()
result = non_whisper.Aligner(model.transcribe,mydecoder,myencoder).align(audio="audio.mp3",
text=assembled_text)`
How to properly use the Aligner function with the model ?
Metadata
Metadata
Assignees
Labels
No labels