Update script.py
This commit is contained in:
1 parent
1a37ae4ba5
commit
a9d95fc563
1 file changed
+1
-1
@@ -613,7 +613,7 @@ def output_modifier(string, state):
|
|||||||
# Generate TTS and output to a file
|
# Generate TTS and output to a file
|
||||||
output_filename = get_output_filename(state)
|
output_filename = get_output_filename(state)
|
||||||
generate_response = send_generate_request(
|
generate_response = send_generate_request(
|
||||||
cleaned_part, voice_to_use, language_code, output_filename
|
cleaned_part, voice_to_use, language_code, temperature, repetition_penalty, output_filename
|
||||||
)
|
)
|
||||||
audio_path = generate_response.get("data", {}).get("audio_path")
|
audio_path = generate_response.get("data", {}).get("audio_path")
|
||||||
audio_files_all_paragraphs.append(audio_path)
|
audio_files_all_paragraphs.append(audio_path)
|
||||||
|
|||||||
Reference in new issue
Block a user