linto-ai/whisper-timestamped won't work extracting word-by-word #15
-
|
Hi, i have following Problem: To troubleshoot I used this command: That is how I want it: But the saved .srt file has following contents: Which is not the word-for-word format I want Anyone any suggestions on what I can do, so it works? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I fixed the issue by adding |
Beta Was this translation helpful? Give feedback.
-
|
Hi @matthias33890, Yes, you can switch between FYI, you can also extract the word-level timestamps using subs_ai = SubsAI()
model = subs_ai.create_model(model_name='guillaumekln/faster-whisper', model_config={'model_type': 'base', "word_timestamps": True})
subs = subs_ai.transcribe(media_file=file, model=model)
subs.save('./ram/output.ass')Hope this helps. |
Beta Was this translation helpful? Give feedback.
I fixed the issue by adding
'segment_type':'word'to my code: