Update orpheus-tts/engine_class.py
Browse files
orpheus-tts/engine_class.py
CHANGED
@@ -86,7 +86,7 @@ class OrpheusModel:
|
|
86 |
if voice not in self.engine.available_voices:
|
87 |
raise ValueError(f"Voice {voice} is not available for model {self.model_name}")
|
88 |
|
89 |
-
def _format_prompt(self, prompt, voice="
|
90 |
# Use Kartoffel model format based on documentation
|
91 |
if voice:
|
92 |
full_prompt = f"{voice}: {prompt}"
|
|
|
86 |
if voice not in self.engine.available_voices:
|
87 |
raise ValueError(f"Voice {voice} is not available for model {self.model_name}")
|
88 |
|
89 |
+
def _format_prompt(self, prompt, voice="Jakob", model_type="larger"):
|
90 |
# Use Kartoffel model format based on documentation
|
91 |
if voice:
|
92 |
full_prompt = f"{voice}: {prompt}"
|