DreamSyncCo commited on
Commit
a705d69
·
verified ·
1 Parent(s): 29b9761

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,7 +39,7 @@ def convert_voice_v1_wrapper(source_audio_path, target_audio_path, diffusion_ste
39
  diffusion_steps=diffusion_steps,
40
  length_adjust=length_adjust,
41
  inference_cfg_rate=inference_cfg_rate,
42
- f0_condition=False, # Always True as requested - removed from UI
43
  auto_f0_adjust=auto_f0_adjust,
44
  pitch_shift=pitch_shift,
45
  stream_output=stream_output
@@ -61,8 +61,8 @@ def create_v1_interface():
61
  info="<1.0 for speed-up speech, >1.0 for slow-down speech"),
62
  gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.7, label="Inference CFG Rate",
63
  info="has subtle influence"),
64
- gr.Checkbox(label="Use F0 conditioned model", value=False,
65
- info="Must set to true for singing voice conversion"),
66
  gr.Checkbox(label="Auto F0 adjust", value=True,
67
  info="Roughly adjust F0 to match target voice. Only works when F0 conditioned model is used."),
68
  gr.Slider(label='Pitch shift', minimum=-24, maximum=24, step=1, value=0,
 
39
  diffusion_steps=diffusion_steps,
40
  length_adjust=length_adjust,
41
  inference_cfg_rate=inference_cfg_rate,
42
+ f0_condition=True, # Always True as requested - removed from UI
43
  auto_f0_adjust=auto_f0_adjust,
44
  pitch_shift=pitch_shift,
45
  stream_output=stream_output
 
61
  info="<1.0 for speed-up speech, >1.0 for slow-down speech"),
62
  gr.Slider(minimum=0.0, maximum=1.0, step=0.1, value=0.7, label="Inference CFG Rate",
63
  info="has subtle influence"),
64
+ # gr.Checkbox(label="Use F0 conditioned model", value=False,
65
+ # info="Must set to true for singing voice conversion"),
66
  gr.Checkbox(label="Auto F0 adjust", value=True,
67
  info="Roughly adjust F0 to match target voice. Only works when F0 conditioned model is used."),
68
  gr.Slider(label='Pitch shift', minimum=-24, maximum=24, step=1, value=0,