aboutsummaryrefslogtreecommitdiff
path: root/converter/converter.py
diff options
context:
space:
mode:
Diffstat (limited to 'converter/converter.py')
-rw-r--r--converter/converter.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/converter/converter.py b/converter/converter.py
index 8371c02..e36face 100644
--- a/converter/converter.py
+++ b/converter/converter.py
@@ -193,7 +193,7 @@ class AudiobookConverter:
(e.g. "Uncle Fu" -> "Uncle_Fu").
"""
if self.faster:
- narrator = self.faster_voice or config.FASTER_TTS_VOICE
+ narrator = self.faster_voice or config.FASTER_VOICE
elif self.voice_mode == VOICE_MODE_CLONE:
narrator = Path(self.voice_clone_ref_audio).stem
else:
@@ -496,17 +496,17 @@ class AudiobookConverter:
print(f"Books folder: {BOOKS_FOLDER}")
print(f"Output folder: {AUDIOBOOKS_FOLDER}")
if self.faster:
- print(f"Faster TTS endpoint: {config.FASTER_TTS_API_URL}")
+ print(f"Faster TTS endpoint: {config.FASTER_API_URL}")
print("Backend: faster (voice cloning, reference configured on server)")
- print(f"Voice: {self.faster_voice or config.FASTER_TTS_VOICE}")
+ print(f"Voice: {self.faster_voice or config.FASTER_VOICE}")
else:
- api_url = (config.VOICE_CLONE_API_URL if self.voice_mode == VOICE_MODE_CLONE
+ api_url = (config.CLONE_API_URL if self.voice_mode == VOICE_MODE_CLONE
else config.QWEN_API_URL)
print(f"Qwen API endpoint: {api_url}")
print(f"Voice mode: {self.voice_mode}")
print("Model size: 1.7B (always)")
if self.voice_mode == VOICE_MODE_CUSTOM:
- print(f"Speaker: {config.CUSTOM_VOICE_SPEAKER}")
+ print(f"Speaker: {config.SPEAKER}")
print(f"Language: {self.language}")
elif self.voice_mode == VOICE_MODE_CLONE:
print(f"Reference audio: {Path(self.voice_clone_ref_audio).name}")