From 4fc4e8d8059fe02faaf44f0d4f056c1f87f1900d Mon Sep 17 00:00:00 2001 From: Mitchell Shibilski-Unkel <133730558+MitchellShibilski-Unkel@users.noreply.github.com> Date: Thu, 28 Mar 2024 22:42:29 -0600 Subject: [PATCH] Update pyai.py --- pyai.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyai.py b/pyai.py index 9491e57..eba747e 100644 --- a/pyai.py +++ b/pyai.py @@ -38,7 +38,6 @@ def getTextFromAudio(self, audio): mel = whisper.log_mel_spectrogram(audio).to(self.model.device) _, probs = self.model.detect_language(mel) - print(f"Detected language: {max(probs, key=probs.get)}") options = whisper.DecodingOptions() result = whisper.decode(self.model, mel, options)