dummy
Adapted from the Griptape AI Framework documentation.
__all__ = ['DummyTextToSpeechDriver']
module-attribute
Bases:
BaseTextToSpeechDriver
Source Code in griptape/drivers/text_to_speech/dummy_text_to_speech_driver.py
@define class DummyTextToSpeechDriver(BaseTextToSpeechDriver): model: None = field(init=False, default=None, kw_only=True) def try_text_to_audio(self, prompts: list[str]) -> AudioArtifact: raise DummyError(__class__.__name__, "try_text_to_audio")
model = field(init=False, default=None, kw_only=True)
class-attribute instance-attribute
try_text_to_audio(prompts)
Source Code in griptape/drivers/text_to_speech/dummy_text_to_speech_driver.py
def try_text_to_audio(self, prompts: list[str]) -> AudioArtifact: raise DummyError(__class__.__name__, "try_text_to_audio")
- On this page
- try_text_to_audio(prompts)
Could this page be better? Report a problem or suggest an addition!