Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ class TTS_Interface:
|
|
56 |
durations=self.duration,
|
57 |
pitch=self.pitch,
|
58 |
energy=self.energy,
|
59 |
-
|
60 |
self.utterance_cloner.tts.set_utterance_embedding("reference_audios/german_female.wav")
|
61 |
self.current_voice = "female"
|
62 |
self.cloned_speech_female = self.utterance_cloner.tts(self.phones,
|
@@ -64,7 +64,7 @@ class TTS_Interface:
|
|
64 |
durations=self.duration,
|
65 |
pitch=self.pitch,
|
66 |
energy=self.energy,
|
67 |
-
|
68 |
|
69 |
#######
|
70 |
self.utterance_cloner.tts.set_utterance_embedding("reference_audios/german_male.wav")
|
|
|
56 |
durations=self.duration,
|
57 |
pitch=self.pitch,
|
58 |
energy=self.energy,
|
59 |
+
input_is_phones=True).cpu().numpy()
|
60 |
self.utterance_cloner.tts.set_utterance_embedding("reference_audios/german_female.wav")
|
61 |
self.current_voice = "female"
|
62 |
self.cloned_speech_female = self.utterance_cloner.tts(self.phones,
|
|
|
64 |
durations=self.duration,
|
65 |
pitch=self.pitch,
|
66 |
energy=self.energy,
|
67 |
+
input_is_phones=True).cpu().numpy()
|
68 |
|
69 |
#######
|
70 |
self.utterance_cloner.tts.set_utterance_embedding("reference_audios/german_male.wav")
|