Spaces:
Building
Building
Update stt/stt_factory.py
Browse files- stt/stt_factory.py +3 -3
stt/stt_factory.py
CHANGED
@@ -11,19 +11,19 @@ from config.config_provider import ConfigProvider
|
|
11 |
stt_providers = {}
|
12 |
|
13 |
try:
|
14 |
-
from stt_google import GoogleCloudSTT
|
15 |
stt_providers['google'] = GoogleCloudSTT
|
16 |
except ImportError:
|
17 |
log_info("⚠️ Google Cloud STT not available")
|
18 |
|
19 |
try:
|
20 |
-
from stt_azure import AzureSTT
|
21 |
stt_providers['azure'] = AzureSTT
|
22 |
except ImportError:
|
23 |
log_error("⚠️ Azure STT not available")
|
24 |
|
25 |
try:
|
26 |
-
from stt_flicker import FlickerSTT
|
27 |
stt_providers['flicker'] = FlickerSTT
|
28 |
except ImportError:
|
29 |
log_error("⚠️ Flicker STT not available")
|
|
|
11 |
stt_providers = {}
|
12 |
|
13 |
try:
|
14 |
+
from .stt_google import GoogleCloudSTT
|
15 |
stt_providers['google'] = GoogleCloudSTT
|
16 |
except ImportError:
|
17 |
log_info("⚠️ Google Cloud STT not available")
|
18 |
|
19 |
try:
|
20 |
+
from .stt_azure import AzureSTT
|
21 |
stt_providers['azure'] = AzureSTT
|
22 |
except ImportError:
|
23 |
log_error("⚠️ Azure STT not available")
|
24 |
|
25 |
try:
|
26 |
+
from .stt_flicker import FlickerSTT
|
27 |
stt_providers['flicker'] = FlickerSTT
|
28 |
except ImportError:
|
29 |
log_error("⚠️ Flicker STT not available")
|