lalalic commited on
Commit
2dc8b04
·
verified ·
1 Parent(s): e4bf4e7

Update xtts.py

Browse files
Files changed (1) hide show
  1. xtts.py +1 -1
xtts.py CHANGED
@@ -150,4 +150,4 @@ def trim_sample_audio(speaker_wav):
150
  traceback.print_exc()
151
  return speaker_wav
152
 
153
- gr.Inference(predict, inputs=["text", "text"], outputs="text").launch()
 
150
  traceback.print_exc()
151
  return speaker_wav
152
 
153
+ gr.Interface(predict, inputs=["text", "text"], outputs=gr.Audio).launch()