remove debug import excpetion tensorrt llm
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import os
|
import os
|
||||||
import websockets
|
|
||||||
import time
|
import time
|
||||||
import threading
|
import threading
|
||||||
import json
|
import json
|
||||||
@@ -12,10 +11,8 @@ from websockets.sync.server import serve
|
|||||||
|
|
||||||
import torch
|
import torch
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import queue
|
|
||||||
|
|
||||||
from whisper_live.vad import VoiceActivityDetection
|
from whisper_live.vad import VoiceActivityDetection
|
||||||
from scipy.io.wavfile import write
|
|
||||||
import functools
|
import functools
|
||||||
|
|
||||||
from whisper_live.vad import VoiceActivityDetection
|
from whisper_live.vad import VoiceActivityDetection
|
||||||
@@ -23,7 +20,7 @@ from whisper_live.transcriber import WhisperModel
|
|||||||
try:
|
try:
|
||||||
from whisper_live.transcriber_tensorrt import WhisperTRTLLM
|
from whisper_live.transcriber_tensorrt import WhisperTRTLLM
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.warn("cannot import WhisperTRTLLM")
|
pass
|
||||||
|
|
||||||
|
|
||||||
class TranscriptionServer:
|
class TranscriptionServer:
|
||||||
|
|||||||
Reference in New Issue
Block a user