tanbw commited on
Commit
7faeec3
1 Parent(s): a7fa527

no message

Browse files
Files changed (1) hide show
  1. webui.py +1 -1
webui.py CHANGED
@@ -191,7 +191,7 @@ with gr.Blocks() as demo:
191
  with gr.Row():
192
  mode_checkbox_group = gr.Radio(choices=inference_mode_list, label='选择推理模式', value=inference_mode_list[0])
193
  instruction_text = gr.Text(label="操作步骤", value=instruct_dict[inference_mode_list[0]], scale=0.5)
194
- sft_dropdown = gr.Dropdown(choices=[], label='选择预训练音色', scale=0.25)
195
  load_sft_button = gr.Button("加载预训练音色")
196
  load_sft_button.click(load_sft_options, outputs=sft_dropdown)
197
  stream = gr.Radio(choices=stream_mode_list, label='是否流式推理', value=stream_mode_list[0][1])
 
191
  with gr.Row():
192
  mode_checkbox_group = gr.Radio(choices=inference_mode_list, label='选择推理模式', value=inference_mode_list[0])
193
  instruction_text = gr.Text(label="操作步骤", value=instruct_dict[inference_mode_list[0]], scale=0.5)
194
+ sft_dropdown = gr.Dropdown(choices=[], label='选择预训练音色', scale=0.25,allow_custom_value=True)
195
  load_sft_button = gr.Button("加载预训练音色")
196
  load_sft_button.click(load_sft_options, outputs=sft_dropdown)
197
  stream = gr.Radio(choices=stream_mode_list, label='是否流式推理', value=stream_mode_list[0][1])