Next commited on
Commit
e5a4697
Β·
verified Β·
1 Parent(s): bafbc7b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def paths_for_files(path):
7
  with gr.Blocks(title="πŸ”Š", theme=gr.themes.Base(primary_hue="rose", neutral_hue="zinc")) as app:
8
  with gr.Tabs():
9
  with gr.TabItem("Inference"):
10
- voice_model = gr.Dropdown(label="Model Voice", choices=sorted(names), value=lambda: sorted(names)[0] if len(sorted(names)) > 0 else '', interactive=True)
11
  refresh_button = gr.Button("Refresh", variant="primary")
12
  spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Speaker ID", value=0, visible=False, interactive=True)
13
  vc_transform0 = gr.Number(label="Pitch", value=0)
 
7
  with gr.Blocks(title="πŸ”Š", theme=gr.themes.Base(primary_hue="rose", neutral_hue="zinc")) as app:
8
  with gr.Tabs():
9
  with gr.TabItem("Inference"):
10
+ voice_model = gr.Dropdown(label="Model Voice", choices=sorted(names))
11
  refresh_button = gr.Button("Refresh", variant="primary")
12
  spk_item = gr.Slider(minimum=0, maximum=2333, step=1, label="Speaker ID", value=0, visible=False, interactive=True)
13
  vc_transform0 = gr.Number(label="Pitch", value=0)