From a70aac18aebf9fa0d615dd7ad8eaec28f26d6a4f Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Sat, 18 Mar 2023 09:47:02 +0100 Subject: [PATCH] Remove unused import --- faster_whisper/transcribe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/faster_whisper/transcribe.py b/faster_whisper/transcribe.py index 273042a..d34ddb0 100644 --- a/faster_whisper/transcribe.py +++ b/faster_whisper/transcribe.py @@ -1,4 +1,3 @@ -import collections import itertools import os import zlib @@ -445,6 +444,7 @@ class WhisperModel: for temperature in options.temperatures: if temperature > 0: + print(temperature) kwargs = { "beam_size": 1, "num_hypotheses": options.best_of, @@ -472,6 +472,7 @@ class WhisperModel: )[0] tokens = result.sequences_ids[0] + print(tokens) # Recover the average log prob from the returned score. seq_len = len(tokens)