I have a project that is using Whisper, and I have create an API endpoint that will transcribe... all of a sudden I'm getting no start, end, or text from the segments.
model = WhisperModel("tiny.en", device="cpu", num_workers=4, cpu_threads=4, compute_type="int8")
segments = model.transcribe(audioPath, word_timestamps=False, beam_size=1)
combined_text = " ".join([segment.text.strip() for segment in segments])
Error is AttributeError: 'generator' object has no attribute 'text'
I have a project that is using Whisper, and I have create an API endpoint that will transcribe... all of a sudden I'm getting no start, end, or text from the segments.
Error is
AttributeError: 'generator' object has no attribute 'text'