Skip to content

Commit e56959b

Browse files
committed
fix ui
1 parent 461e8fa commit e56959b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

modules/tabs/inference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def inference_options_ui(show_out_dir=True):
2222
minimum=-20, maximum=20, value=0, step=1, label="Transpose"
2323
)
2424
pitch_extraction_algo = gr.Radio(
25-
choices=["pm", "harvest"],
26-
value="pm",
25+
choices=["dio", "harvest"],
26+
value="dio",
2727
label="Pitch Extraction Algorithm",
2828
)
2929
embedding_model = gr.Radio(

modules/tabs/training.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
import gradio as gr
77

88
from lib.rvc.preprocessing import extract_f0, extract_feature, split
9-
from lib.rvc.train import create_dataset_meta, glob_dataset, train_index, train_model
9+
from lib.rvc.train import (create_dataset_meta, glob_dataset, train_index,
10+
train_model)
1011
from modules import models, utils
1112
from modules.shared import MODELS_DIR, device, half_support
1213
from modules.ui import Tab
@@ -316,7 +317,7 @@ def train_all(
316317
label="Normalize audio volume when preprocess",
317318
)
318319
pitch_extraction_algo = gr.Radio(
319-
choices=["pm", "harvest", "dio"],
320+
choices=["dio", "harvest"],
320321
value="harvest",
321322
label="Pitch extraction algorithm",
322323
)

0 commit comments

Comments
 (0)