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
I have the problem that the translation with files which are bigger as 30 seconds are terrible, in the swiftUI example.
to solve this problem I want split my files in 30 seconds parts and loop over them to get the best result with init prompts too.
But if I have more as one file my app crash and I have no idea to fix it.
I get this error:
Selecting 8 threads
About to run whisper_full
WHISPER_ASSERT: /Users/andre/Documents/GitHub/whisper.cpp/whisper.cpp:4531: n_logits == ctx.vocab.n_vocab
ok I found a little bit more out, there my app is crashing.
so the first run works perfect, but the second run it's crashing by this line of code:
String(cString: whisper_full_get_token_text(context, i, token))
I want every word together with the start and end time back. I have no idea why if runs one time but the second not. the context is the same like by the first run. the model and the sample file too.
bitsmakerde
changed the title
split audio in 30 sec parts, crash on swift
whisper_full_get_token_text crash by run in a loop in swift
Dec 18, 2023
Hi,
I have the problem that the translation with files which are bigger as 30 seconds are terrible, in the swiftUI example.
to solve this problem I want split my files in 30 seconds parts and loop over them to get the best result with init prompts too.
But if I have more as one file my app crash and I have no idea to fix it.
I get this error:
here how I loop the my files:
And here my config
The text was updated successfully, but these errors were encountered: