Blane187 commited on
Commit
af88460
·
verified ·
1 Parent(s): f93f3d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,9 +35,9 @@ with gr.Blocks(title="RVC UI") as app:
35
  protect0 = gr.Slider(minimum=0,maximum=0.5,label="Protect voiceless consonants and breath sounds to prevent artifacts such as tearing in electronic music. Set to 0.5 to disable. Decrease the value to increase protection, but it may reduce indexing accuracy",value=0.33,step=0.01,interactive=True)
36
  filter_radius0 = gr.Slider(minimum=0,maximum=7,label=("If >=3: apply median filtering to the harvested pitch results. The value represents the filter radius and can reduce breathiness."),value=3,step=1,interactive=True)
37
  f0_file = gr.File(label="F0 curve file (optional). One pitch per line. Replaces the default F0 and pitch modulation",visible=False,)
38
- but0 = gr.Button("Convert", variant="primary", type="filepath")
39
  vc_output1 = gr.Textbox(label="Output information")
40
- vc_output2 = gr.Audio(label="Export audio (click on the three dots in the lower right corner to download)")
41
  #refresh_button.click(fn=change_choices,inputs=[],outputs=[models, file_index2],api_name="infer_refresh")
42
  with gr.TabItem("Batch inference"):
43
  gr.Markdown(f"<center>Batch conversion\n. Enter the folder containing the audio files to be converted or upload multiple audio files. The converted audio will be output in the specified folder (default: 'opt').")
 
35
  protect0 = gr.Slider(minimum=0,maximum=0.5,label="Protect voiceless consonants and breath sounds to prevent artifacts such as tearing in electronic music. Set to 0.5 to disable. Decrease the value to increase protection, but it may reduce indexing accuracy",value=0.33,step=0.01,interactive=True)
36
  filter_radius0 = gr.Slider(minimum=0,maximum=7,label=("If >=3: apply median filtering to the harvested pitch results. The value represents the filter radius and can reduce breathiness."),value=3,step=1,interactive=True)
37
  f0_file = gr.File(label="F0 curve file (optional). One pitch per line. Replaces the default F0 and pitch modulation",visible=False,)
38
+ but0 = gr.Button("Convert", variant="primary")
39
  vc_output1 = gr.Textbox(label="Output information")
40
+ vc_output2 = gr.Audio(label="Export audio (click on the three dots in the lower right corner to download)"),type="filepath")
41
  #refresh_button.click(fn=change_choices,inputs=[],outputs=[models, file_index2],api_name="infer_refresh")
42
  with gr.TabItem("Batch inference"):
43
  gr.Markdown(f"<center>Batch conversion\n. Enter the folder containing the audio files to be converted or upload multiple audio files. The converted audio will be output in the specified folder (default: 'opt').")