Spaces:
Running
on
T4
Running
on
T4
Update InferenceInterfaces/ControllableInterface.py
Browse files
InferenceInterfaces/ControllableInterface.py
CHANGED
@@ -92,8 +92,10 @@ class ControllableInterface:
|
|
92 |
if self.current_accent != "eng":
|
93 |
self.model.set_accent_language("eng")
|
94 |
self.current_accent = "eng"
|
95 |
-
|
96 |
print(prompt)
|
|
|
|
|
97 |
wav, sr, fig = self.model(prompt,
|
98 |
input_is_phones=False,
|
99 |
duration_scaling_factor=duration_scaling_factor,
|
|
|
92 |
if self.current_accent != "eng":
|
93 |
self.model.set_accent_language("eng")
|
94 |
self.current_accent = "eng"
|
95 |
+
print("\n\n")
|
96 |
print(prompt)
|
97 |
+
print(language)
|
98 |
+
print("\n\n")
|
99 |
wav, sr, fig = self.model(prompt,
|
100 |
input_is_phones=False,
|
101 |
duration_scaling_factor=duration_scaling_factor,
|