AriaMei commited on
Commit
74ee01b
1 Parent(s): 5632d25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -131,19 +131,19 @@ def runVits(name, config, txt):
131
  # audio = gr.Audio(label="output")
132
  # submit.click(runVits, [character, model, text], audio)
133
  # app.launch(share=True)
134
- # if __name__ == '__main__':
135
- # demo = gr.Interface(
136
- #
137
- # fn=runVits,
138
- # inputs=[
139
- # gr.Radio(['九条都', '新海天', '结城希亚', '蕾娜', '索菲'], label='character',
140
- # info="select character you want"),
141
- # gr.Radio(['mul'], label='configfile', info="select models(recent multiple model only)"),
142
- # gr.Textbox(label="input content", lines=4, visible=True),
143
- #
144
- # ], outputs=[
145
- # gr.Audio(label='output')
146
- # ]
147
- #
148
- # )
149
- # demo.launch(share=True)
 
131
  # audio = gr.Audio(label="output")
132
  # submit.click(runVits, [character, model, text], audio)
133
  # app.launch(share=True)
134
+ if __name__ == '__main__':
135
+ demo = gr.Interface(
136
+
137
+ fn=runVits,
138
+ inputs=[
139
+ gr.Radio(['九条都', '新海天', '结城希亚', '蕾娜', '索菲'], label='character',
140
+ info="select character you want"),
141
+ gr.Radio(['mul'], label='configfile', info="select models(recent multiple model only)"),
142
+ gr.Textbox(label="input content", lines=4, visible=True),
143
+
144
+ ], outputs=[
145
+ gr.Audio(label='output')
146
+ ]
147
+
148
+ )
149
+ demo.launch(share=True)