lalalic commited on
Commit
7fa05e6
·
verified ·
1 Parent(s): 5f1dab4

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +2 -2
test.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
- from xtts import predict, setup
3
 
4
  demo=gr.Interface(predict, inputs=["text","text","text"], outputs=gr.Audio())
5
  demo.launch(show_api=True)
6
- setup()
 
1
  import gradio as gr
2
+ from xtts import predict, get_tts
3
 
4
  demo=gr.Interface(predict, inputs=["text","text","text"], outputs=gr.Audio())
5
  demo.launch(show_api=True)
6
+ get_tts(True)