f5tts/wwwroot/addvoice.ui

42 lines
773 B
Plaintext
Raw Normal View History

2024-12-25 16:04:39 +08:00
{
"widgettype":"VBox",
"options":{
"height":"100%"
},
"subwidgets":[
{
"widgettype":"Filler",
"options":{},
"subwidgets":[
{
"widgettype":"Form",
"id":"form",
"options":{
"title":"添加播音员",
"method":"POST",
"description":"通过输入播音员id录音和录音文字说明来添加播音员",
"submit_url":"{{entire_url('/api/addvoice')}}",
"fields":[
{
"name":"speaker",
"label":"播音员id",
"uitype":"str"
},
{
"name":"ref_voice",
"label":"语音",
"uitype":"audiorecorder"
},
{
"name":"ref_text",
"label":"语音文字",
"uitype":"text"
}
]
}
}
]
}
]
}