Yabin Li
2023-12-18 65676c0aaefacff0dfbfb7e1785dda516460d9eb
funasr/bin/sv_infer.py
@@ -22,9 +22,9 @@
    """Speech2Xvector class
    Examples:
        >>> import soundfile
        >>> import librosa
        >>> speech2xvector = Speech2Xvector("sv_config.yml", "sv.pb")
        >>> audio, rate = soundfile.read("speech.wav")
        >>> audio, rate = librosa.load("speech.wav")
        >>> speech2xvector(audio)
        [(text, token, token_int, hypothesis object), ...]