Blane187 commited on
Commit
ceddad9
·
verified ·
1 Parent(s): f1ed355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -20,14 +20,16 @@ with gr.Blocks(title="RVC UI") as app:
20
  gr.Markdown("<center><h1> RVC UI 🗣️")
21
  gr.Markdown("<h1>this ui not done yet!")
22
  models = gr.Dropdown(label="voice model", choices=sorted(names))
 
 
23
  with gr.Row():
24
- pith_voice = gr.Number(label="Transpose (integer, number of semitones, raise by an octave: 12, lower by an octave: -12)",value=0)
25
  with gr.Row():
26
- clean_button = gr.Button("Refresh model", variant="primary")
 
27
  spk_item = gr.Slider(minimum=0,maximum=2333,step=1,label="Select Speaker/Singer ID",value=0,visible=False,interactive=False)
28
  clean_button.click(fn=clean, inputs=[], outputs=[models], api_name="infer_clean")
29
  modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
30
- but0 = gr.Button("Convert", variant="primary")
31
  with gr.Tabs():
32
  with gr.TabItem("Single inference"):
33
  input_audio0 = gr.Audio(label="The audio file to be processed",type="filepath")
 
20
  gr.Markdown("<center><h1> RVC UI 🗣️")
21
  gr.Markdown("<h1>this ui not done yet!")
22
  models = gr.Dropdown(label="voice model", choices=sorted(names))
23
+ clean_button = gr.Button("Refresh model", variant="primary")
24
+
25
  with gr.Row():
 
26
  with gr.Row():
27
+ pith_voice = gr.Number(label="Transpose 12 for femal, -12 fo male)",value=0)
28
+ but0 = gr.Button("Convert", variant="primary")
29
  spk_item = gr.Slider(minimum=0,maximum=2333,step=1,label="Select Speaker/Singer ID",value=0,visible=False,interactive=False)
30
  clean_button.click(fn=clean, inputs=[], outputs=[models], api_name="infer_clean")
31
  modelinfo = gr.Textbox(label="Model info", max_lines=8, visible=False)
32
+
33
  with gr.Tabs():
34
  with gr.TabItem("Single inference"):
35
  input_audio0 = gr.Audio(label="The audio file to be processed",type="filepath")