Spaces:
Running
on
Zero
Running
on
Zero
Update InferenceInterfaces/ControllableInterface.py
Browse files
InferenceInterfaces/ControllableInterface.py
CHANGED
@@ -27,8 +27,8 @@ class ControllableInterface:
|
|
27 |
prompt = "Your input was too long. Please try either a shorter text or split it into several parts."
|
28 |
|
29 |
print(prompt + "\n\n")
|
30 |
-
wav, sr = self.model(
|
31 |
-
input_is_phones=
|
32 |
duration_scaling_factor=1.0,
|
33 |
pitch_variance_scale=1.0,
|
34 |
energy_variance_scale=1.0,
|
|
|
27 |
prompt = "Your input was too long. Please try either a shorter text or split it into several parts."
|
28 |
|
29 |
print(prompt + "\n\n")
|
30 |
+
wav, sr = self.model(phones,
|
31 |
+
input_is_phones=True,
|
32 |
duration_scaling_factor=1.0,
|
33 |
pitch_variance_scale=1.0,
|
34 |
energy_variance_scale=1.0,
|