Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update comment

davidmezzettie7cafe3fd770
diff --git a/src/python/txtai/pipeline/audio/texttospeech.py b/src/python/txtai/pipeline/audio/texttospeech.py
index 98c84713..df1320f0 100644
--- a/src/python/txtai/pipeline/audio/texttospeech.py
+++ b/src/python/txtai/pipeline/audio/texttospeech.py
@@ -147,7 +147,7 @@ class TextToSpeech(Pipeline):
encoding: audio encoding format
Returns:
- snippets of audio as NumPy arrays or audio bytes depending on fmt parameter
+ snippets of audio as NumPy arrays or audio bytes depending on encoding parameter
"""
buffer = []
@@ -174,7 +174,7 @@ class TextToSpeech(Pipeline):
kwargs: additional keyword args
Returns:
- (audio, sample rate) or audio bytes depending on fmt parameter
+ (audio, sample rate) or audio bytes depending on encoding parameter
"""
# Run pipeline model