mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +00:00
Formatting
This commit is contained in:
@@ -9,6 +9,7 @@ from .BaseTTSEngine import BaseTTSEngine, Word
|
||||
|
||||
from ...utils.prompting import get_prompt
|
||||
|
||||
|
||||
class CoquiTTSEngine(BaseTTSEngine):
|
||||
voices = [
|
||||
"Claribel Dervla",
|
||||
@@ -124,8 +125,9 @@ class CoquiTTSEngine(BaseTTSEngine):
|
||||
if self.to_force_duration:
|
||||
self.force_duration(float(self.duration), path)
|
||||
|
||||
return self.time_with_whisper(path)
|
||||
self.ctx.duration = self.get_audio_duration(path)
|
||||
|
||||
return self.time_with_whisper(path)
|
||||
|
||||
@classmethod
|
||||
def get_options(cls) -> list:
|
||||
|
||||
Reference in New Issue
Block a user