refac: lazily load faster_whisper to reduce start up memory usage
This commit is contained in:
1 parent
f77073410e
commit
17c684369e
2 files changed
+2
-2
No files matched your search
@@ -12,7 +12,6 @@ from fastapi import (
|
||||
Form,
|
||||
)
|
||||
from fastapi.middleware.cors import CORSMiddleware
|
||||
from faster_whisper import WhisperModel
|
||||
|
||||
from constants import ERROR_MESSAGES
|
||||
from utils.utils import (
|
||||
|
||||
Reference in new issue
Block a user