Dionyssos commited on
Commit
61d3afa
·
1 Parent(s): 601f4c3
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -453,7 +453,10 @@ def other_tts(text='Hallov worlds Far over the',
453
 
454
  text = only_greek_or_only_latin(text, lang='eng')
455
 
456
- x = _tts.inference(text, ref_s=ref_s)[0, 0, :].cpu().numpy()
 
 
 
457
 
458
  # x /= np.abs(x).max() + 1e-7 ~ Volume normalisation @api.py:tts_multi_sentence() OR demo.py
459
 
 
453
 
454
  text = only_greek_or_only_latin(text, lang='eng')
455
 
456
+ x = _tts.inference(text, ref_s=ref_s)[0:1, 0, :]
457
+
458
+ x = torch.cat([.99 * x,
459
+ .94 * x], 0).cpu().numpy() # Stereo
460
 
461
  # x /= np.abs(x).max() + 1e-7 ~ Volume normalisation @api.py:tts_multi_sentence() OR demo.py
462