Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1e9871f

Browse files
authoredJul 23, 2023
RVC UI naming improvements (rsxdalv#92)
1 parent c99865f commit 1e9871f

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
lines changed
 

‎README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,15 @@ Google Colab demo: [![Open In Colab](https://colab.research.google.com/assets/co
2929

3030
[audio__bark__continued_generation__2023-05-04_16-10-55_long.webm](https://user-images.githubusercontent.com/6757283/236219243-dad96404-0879-4274-828e-7f3afc6bac65.webm)
3131

32-
## Extra Voices
32+
## Extra Voices for Bark
33+
https://echo.play.ai/
3334
https://rsxdalv.github.io/bark-speaker-directory/
3435

3536
## Changelog
37+
July 23:
38+
* Docker Image thanks to https://github.com/jonfairbanks
39+
* RVC UI naming improvements
40+
3641
July 21:
3742
* Fix hubert not working with CPU only (https://github.com/rsxdalv/tts-generation-webui/pull/87)
3843
* Add Google Colab demo (https://github.com/rsxdalv/tts-generation-webui/pull/88)

‎src/rvc_tab/rvc_tab.py

+18-11
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def rvc_ui_model_or_index_path_ui(label: str):
166166
value=os.path.join(RVC_LOCAL_MODELS_DIR, f"{model}{extension}")
167167
),
168168
file_path_file.update(value=None),
169-
] if model is not None
169+
]
170+
if model is not None
170171
else [
171172
file_path.update(),
172173
file_path_file.update(),
@@ -187,34 +188,40 @@ def rvc_ui():
187188
with gr.Column():
188189
index_path = rvc_ui_model_or_index_path_ui("Index")
189190
with gr.Row():
190-
f0up_key = gr.Textbox(label="f0 Up key", value="0")
191+
f0up_key = gr.Textbox(label="Pitch Up key", value="0")
191192
# f0method = gr.Dropdown(
192193
# ["harvest", "pm", "crepe"], label="f0 Method", value="harvest"
193194
# )
194195
f0method = gr.Radio(
195-
["harvest", "pm", "crepe"], label="f0 Method", value="harvest"
196+
["harvest", "pm", "crepe"],
197+
label="Pitch Collection Method",
198+
value="harvest",
196199
)
197200
index_rate = gr.Slider(
198-
minimum=0.0, maximum=1.0, step=0.01, value=0.66, label="Index Rate"
201+
minimum=0.0, maximum=1.0, step=0.01, value=0.66, label="Search Feature Ratio"
199202
)
200203
filter_radius = gr.Slider(
201-
minimum=0, maximum=10, step=1, value=3, label="Filter Radius"
204+
minimum=0, maximum=10, step=1, value=3, label="Filter Radius (Pitch)"
202205
)
203206
with gr.Row():
204207
resample_sr = gr.Slider(
205-
minimum=0, maximum=48000, step=1, value=0, label="Resample SR"
208+
minimum=0,
209+
maximum=48000,
210+
step=1,
211+
value=0,
212+
label="Resample Sample-rate (Bug)",
206213
)
207214
rms_mix_rate = gr.Slider(
208-
minimum=0.0, maximum=1.0, step=0.01, value=1, label="RMS Mix Rate"
215+
minimum=0.0, maximum=1.0, step=0.01, value=1, label="Voice Envelope Normalizaiton"
209216
)
210217
protect = gr.Slider(
211-
minimum=0.0, maximum=1.0, step=0.01, value=0.33, label="Protect"
218+
minimum=0.0, maximum=0.5, step=0.01, value=0.33, label="Protect Breath Sounds"
212219
)
213220
with gr.Group():
214221
gr.Markdown("### Hubert")
215222
with gr.Row():
216223
device = gr.Dropdown(
217-
["cuda:0", "cpu"], label="Device", value="cuda:0"
224+
["cuda:0", "cpu", "mps"], label="Device", value="cuda:0"
218225
)
219226
is_half = gr.Checkbox(
220227
label="Use half precision model (Depends on GPU support)",
@@ -224,8 +231,8 @@ def rvc_ui():
224231
value="Clear Hubert (to reload on next generation)",
225232
variant="secondary",
226233
).click(
227-
fn=lambda: inject_hubert(None)
228-
) # type: ignore
234+
fn=lambda: inject_hubert(None) # type: ignore
235+
)
229236

230237
with gr.Column():
231238
original_audio = Joutai.singleton.rvc_input

0 commit comments

Comments
 (0)