None1145 commited on
Commit
d6a77bc
·
verified ·
1 Parent(s): 26c1164

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,6 +1,3 @@
1
- model = None
2
- sid = ""
3
-
4
  import io
5
  import gradio as gr
6
  import librosa
@@ -102,6 +99,7 @@ with app:
102
  '<div align="center">'
103
  f'<a><strong>{speaker}</strong></a>'
104
  '</div>')
 
105
  vc_input3 = gr.Audio(label="Upload Audio")
106
  vc_transform = gr.Number(label="Pitch Shift (integer, can be positive or negative, number of semitones, raising an octave is +12)", value=0)
107
  cluster_ratio = gr.Number(label="Cluster Model Mixing Ratio (0-1): Defaults to 0 (clustering disabled). Improves timbre similarity but may reduce articulation clarity. Recommended value: ~0.5 if used", value=0)
 
 
 
 
1
  import io
2
  import gradio as gr
3
  import librosa
 
99
  '<div align="center">'
100
  f'<a><strong>{speaker}</strong></a>'
101
  '</div>')
102
+ speaker = gr.Textbox(label="Speaker", value=speaker)
103
  vc_input3 = gr.Audio(label="Upload Audio")
104
  vc_transform = gr.Number(label="Pitch Shift (integer, can be positive or negative, number of semitones, raising an octave is +12)", value=0)
105
  cluster_ratio = gr.Number(label="Cluster Model Mixing Ratio (0-1): Defaults to 0 (clustering disabled). Improves timbre similarity but may reduce articulation clarity. Recommended value: ~0.5 if used", value=0)