prompt #1

Open
heimoshuiyu wants to merge 33 commits from prompt into master
Showing only changes of commit fbcf58bf98 - Show all commits

View File

@@ -390,7 +390,7 @@ class WhisperModel:
content_frames, content_frames,
) )
detected_language_info = {} detected_language_info = {}
while seek < end_frames: while seek <= end_frames:
segment = features[ segment = features[
:, seek : seek + self.feature_extractor.nb_max_frames :, seek : seek + self.feature_extractor.nb_max_frames
] ]