Skip to content

Incorrect determination of OnnxAsr handler availability. #74

@Cykooz

Description

@Cykooz

elif args.language == "ru":
# Prefer GigaAM via onnx-asr
try:
from .sherpa_handler import SherpaModel
stt_library = SttLibrary.ONNX_ASR
except ImportError:
stt_library = SttLibrary.FASTER_WHISPER

I think the import in this part of the code should be replaced with:

from .onnx_asr_handler import OnnxAsrModel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions