diff --git a/script.py b/script.py index e569ff8..2aab5af 100644 --- a/script.py +++ b/script.py @@ -613,7 +613,7 @@ def output_modifier(string, state): # Generate TTS and output to a file output_filename = get_output_filename(state) 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_files_all_paragraphs.append(audio_path) @@ -899,4 +899,4 @@ if running_in_standalone: try: time.sleep(1) # Add a small delay to avoid high CPU usage except KeyboardInterrupt: - break # Allow graceful exit on Ctrl+C \ No newline at end of file + break # Allow graceful exit on Ctrl+C