-
Notifications
You must be signed in to change notification settings - Fork 396
Open
Description
I tried OpenAI translation and it is not working.
After tracing, it seems this code accesses segments.words
which is None in case of translation? the code is inside ts_words inside OpenaiApiASR
and translate doesn't take timestamp_granularities
for word in segments.words:
start = word.start
end = word.end
if any(s[0] <= start <= s[1] for s in no_speech_segments):
# print("Skipping word", word.get("word"), "because it's in a no-speech segment")
continue
o.append((start, end, word.word))
Metadata
Metadata
Assignees
Labels
No labels