
    9i|	                        S r  " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r	 " S S\	5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      rg%)&z
Define TTS exceptions
c                       \ rS rSrSrSrg)TtsException   z
TTS exception class.
 N__name__
__module____qualname____firstlineno____doc____static_attributes__r       e/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/modelscope/utils/audio/tts_exceptions.pyr   r           	r   r   c                       \ rS rSrSrSrg)TtsModelConfigurationException   z%
TTS model configuration exceptions.
r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrSrg)TtsModelNotExistsException   z!
TTS model not exists exception.
r   Nr   r   r   r   r   r          r   r   c                       \ rS rSrSrSrg)TtsVoiceNotExistsException   z!
TTS voice not exists exception.
r   Nr   r   r   r   r   r      r   r   r   c                       \ rS rSrSrSrg)TtsFrontendException"   z'
TTS frontend module level exceptions.
r   Nr   r   r   r   r   r   "   r   r   r   c                       \ rS rSrSrSrg)$TtsFrontendInitializeFailedException)   zR
If tts frontend resource is invalid or not exist, this exception will be raised.
r   Nr   r   r   r   r   r   )   r   r   r   c                       \ rS rSrSrSrg)'TtsFrontendLanguageTypeInvalidException0   z=
If language type is invalid, this exception will be raised.
r   Nr   r   r   r   r!   r!   0   r   r   r!   c                       \ rS rSrSrSrg)TtsVocoderException6   z
Vocoder exception
r   Nr   r   r   r   r$   r$   6   r   r   r$   c                       \ rS rSrSrSrg)'TtsVocoderMelspecShapeMismatchException<   zK
If vocoder's input melspec shape mismatch, this exception will be raised.
r   Nr   r   r   r   r'   r'   <   r   r   r'   c                       \ rS rSrSrSrg)TtsDataPreprocessorExceptionB   z
Tts data preprocess exception
r   Nr   r   r   r   r*   r*   B   r   r   r*   c                       \ rS rSrSrSrg)(TtsDataPreprocessorDirNotExistsExceptionH   z:
If any dir is not exists, this exception will be raised.
r   Nr   r   r   r   r-   r-   H   r   r   r-   c                       \ rS rSrSrSrg)0TtsDataPreprocessorAudioConfigNotExistsExceptionN   z?
If audio config is not exists, this exception will be raised.
r   Nr   r   r   r   r0   r0   N   s    r   r0   c                       \ rS rSrSrSrg)TtsTrainingExceptionU   z
Tts training exception
r   Nr   r   r   r   r3   r3   U   r   r   r3   c                       \ rS rSrSrSrg)"TtsTrainingHparamsInvalidException[   z@
If training hparams is invalid, this exception will be raised.
r   Nr   r   r   r   r6   r6   [   r   r   r6   c                       \ rS rSrSrSrg)$TtsTrainingWorkDirNotExistsExceptiona   zA
If training work dir not exists, this exception will be raised.
r   Nr   r   r   r   r9   r9   a   r   r   r9   c                       \ rS rSrSrSrg) TtsTrainingCfgNotExistsExceptiong   z<
If training cfg not exists, this exception will be raised.
r   Nr   r   r   r   r<   r<   g   r   r   r<   c                       \ rS rSrSrSrg)"TtsTrainingDatasetInvalidExceptionm   z4
If dataset invalid, this exception will be raised.
r   Nr   r   r   r   r?   r?   m   r   r   r?   c                       \ rS rSrSrSrg) TtsTrainingInvalidModelExceptions   zC
If model is invalid or not exists, this exception will be raised.
r   Nr   r   r   r   rB   rB   s   r   r   rB   N)r   	Exceptionr   r   r   r   r   r   r!   r$   r'   r*   r-   r0   r3   r6   r9   r<   r?   rB   r   r   r   <module>rE      s   
	9 		\ 	 	 		< 		+? 	.B , .A < /K $<  +? '; )= '; r   