dify/api/services/errors/audio.py

23 lines
394 B
Python
Raw Normal View History

2023-07-12 17:18:56 +08:00
class NoAudioUploadedServiceError(Exception):
pass
2023-07-07 17:50:42 +08:00
2023-07-12 17:18:56 +08:00
class AudioTooLargeServiceError(Exception):
pass
2023-07-07 17:50:42 +08:00
2023-07-12 17:18:56 +08:00
class UnsupportedAudioTypeServiceError(Exception):
pass
2023-07-07 17:50:42 +08:00
2023-07-12 17:18:56 +08:00
class ProviderNotSupportSpeechToTextServiceError(Exception):
pass
class ProviderNotSupportTextToSpeechServiceError(Exception):
pass
class ProviderNotSupportTextToSpeechLanageServiceError(Exception):
pass