Flux9665 commited on
Commit
0d0e8ce
·
verified ·
1 Parent(s): 5413f24

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(prompt,
31
- input_is_phones=False,
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,