"vscode:/vscode.git/clone" did not exist on "8e0e715700877bd252836772704f513f7ed48265"
__init__.py 268 Bytes
Newer Older
Sugon_ldc's avatar
Sugon_ldc committed
1
2
3
4
5
6
7
8
import importlib
import os


for file in os.listdir(os.path.dirname(__file__)):
    if file.endswith(".py") and not file.startswith("_"):
        model_name = file[: file.find(".py")]
        importlib.import_module("examples.speech_recognition.models." + model_name)