mirror of
https://github.com/langgenius/dify.git
synced 2026-07-16 01:48:40 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Yansong Zhang <916125788@qq.com>
27 lines
526 B
Python
27 lines
526 B
Python
class NoAudioUploadedServiceError(Exception):
|
|
pass
|
|
|
|
|
|
class AudioTooLargeServiceError(Exception):
|
|
pass
|
|
|
|
|
|
class UnsupportedAudioTypeServiceError(Exception):
|
|
pass
|
|
|
|
|
|
class ProviderNotSupportSpeechToTextServiceError(Exception):
|
|
pass
|
|
|
|
|
|
class SpeechToTextDisabledServiceError(Exception):
|
|
"""Raised when the effective app configuration disables speech-to-text."""
|
|
|
|
|
|
class ProviderNotSupportTextToSpeechServiceError(Exception):
|
|
pass
|
|
|
|
|
|
class ProviderNotSupportTextToSpeechLanageServiceError(Exception):
|
|
pass
|