lalalic commited on
Commit
33d7453
·
verified ·
1 Parent(s): 83c9016

Update xtts.py

Browse files
Files changed (1) hide show
  1. xtts.py +1 -1
xtts.py CHANGED
@@ -50,7 +50,7 @@ def predict(text, sample=None, language="zh"):
50
 
51
  output=to_mp3(output)
52
 
53
- return upload(output)
54
 
55
  with io.BytesIO() as wav_buffer:
56
  if torch.is_tensor(wav):
 
50
 
51
  output=to_mp3(output)
52
 
53
+ return upload(output)[0]
54
 
55
  with io.BytesIO() as wav_buffer:
56
  if torch.is_tensor(wav):