Baseta commited on
Commit
2e51649
1 Parent(s): 1fea051

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -1493,14 +1493,13 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="red", secondary_hue="rose"),
1493
  # label="Your preset name"
1494
  # )
1495
  # mangio_preset_save_btn = gr.Button('Save Preset', variant="primary")
1496
- # sid0 = gr.Dropdown(label="1.Choose the model.", choices=[''] + sorted(names), value=check_for_name())
1497
 
1498
  # Other RVC stuff
1499
  with gr.Row():
1500
- sid0 = gr.Dropdown(label="1.Choose the model.", choices=[''] + sorted(names), value='')
1501
  refresh_button = gr.Button("Refresh", variant="primary")
1502
  if check_for_name() != '':
1503
- get_vc(sorted(names)[0])
1504
  vc_transform0 = gr.Number(label="درجة الصوت: 0 من رجل إلى رجل (أو من امرأة إلى امرأة)؛ 12 من رجل الى أمرأة و-12 من أمرأة إلى رجل '\n' Pitch: 0 from man to man (or woman to woman); 12 from man to woman and -12 from woman to man.", value=0)
1505
 
1506
  #clean_button = gr.Button(i18n("卸载音色省显存"), variant="primary")
 
1493
  # label="Your preset name"
1494
  # )
1495
  # mangio_preset_save_btn = gr.Button('Save Preset', variant="primary")
 
1496
 
1497
  # Other RVC stuff
1498
  with gr.Row():
1499
+ sid0 = gr.Dropdown(label="1.Choose the model.", choices=sorted(names), value=check_for_name())
1500
  refresh_button = gr.Button("Refresh", variant="primary")
1501
  if check_for_name() != '':
1502
+ get_vc(sorted(names))
1503
  vc_transform0 = gr.Number(label="درجة الصوت: 0 من رجل إلى رجل (أو من امرأة إلى امرأة)؛ 12 من رجل الى أمرأة و-12 من أمرأة إلى رجل '\n' Pitch: 0 from man to man (or woman to woman); 12 from man to woman and -12 from woman to man.", value=0)
1504
 
1505
  #clean_button = gr.Button(i18n("卸载音色省显存"), variant="primary")