Flux9665 commited on
Commit
787d1da
1 Parent(s): 513a2ce

Update InferenceInterfaces/ControllableInterface.py

Browse files
InferenceInterfaces/ControllableInterface.py CHANGED
@@ -24,10 +24,11 @@ class ControllableInterface:
24
  loudness_in_db
25
  ):
26
  phones = self.model.text2phone.get_phone_string(prompt)
 
 
27
  if len(phones) > 1800:
28
  prompt = "Your input was too long. Please try either a shorter text or split it into several parts."
29
 
30
- print(prompt + "\n\n")
31
  wav, sr = self.model(phones,
32
  input_is_phones=True,
33
  duration_scaling_factor=1.0,
 
24
  loudness_in_db
25
  ):
26
  phones = self.model.text2phone.get_phone_string(prompt)
27
+ print(prompt + "\n" + phones + "\n\n")
28
+
29
  if len(phones) > 1800:
30
  prompt = "Your input was too long. Please try either a shorter text or split it into several parts."
31
 
 
32
  wav, sr = self.model(phones,
33
  input_is_phones=True,
34
  duration_scaling_factor=1.0,