remove debug import excpetion tensorrt llm
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user