From 9ccf940f517b4141a8ff227c08ba30647c85ac36 Mon Sep 17 00:00:00 2001 From: makaveli10 Date: Thu, 8 Feb 2024 14:05:46 +0530 Subject: [PATCH] remove debug import excpetion tensorrt llm --- whisper_live/server.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/whisper_live/server.py b/whisper_live/server.py index 4a8a1d8..e9e8493 100644 --- a/whisper_live/server.py +++ b/whisper_live/server.py @@ -1,5 +1,4 @@ import os -import websockets import time import threading import json @@ -12,10 +11,8 @@ from websockets.sync.server import serve import torch import numpy as np -import queue from whisper_live.vad import VoiceActivityDetection -from scipy.io.wavfile import write import functools from whisper_live.vad import VoiceActivityDetection @@ -23,7 +20,7 @@ from whisper_live.transcriber import WhisperModel try: from whisper_live.transcriber_tensorrt import WhisperTRTLLM except Exception as e: - logging.warn("cannot import WhisperTRTLLM") + pass class TranscriptionServer: