Spaces:
Running
Running
Ryouko65777
commited on
Commit
•
c7ffa65
1
Parent(s):
c9eb24c
Update app.py
Browse files
app.py
CHANGED
@@ -54,10 +54,10 @@ def inference(model_name, audio, f0_change, f0_method, min_pitch, max_pitch, cre
|
|
54 |
return output_path
|
55 |
|
56 |
# Gradio UI
|
57 |
-
with gr.Blocks() as demo:
|
58 |
-
gr.Markdown("##
|
59 |
|
60 |
-
with gr.
|
61 |
model_name = gr.Textbox(label="Model Name")
|
62 |
f0_change = gr.Number(label="Pitch Change (F0 Change)", value=0)
|
63 |
f0_method = gr.Dropdown(
|
@@ -86,7 +86,6 @@ with gr.Blocks() as demo:
|
|
86 |
rms_mix_rate = gr.Slider(label="RMS Mix Rate", minimum=0, maximum=1, value=0.25)
|
87 |
protect = gr.Slider(label="Protect", minimum=0, maximum=1, value=0.33)
|
88 |
|
89 |
-
with gr.Row():
|
90 |
split_infer = gr.Checkbox(label="Enable Split Inference", value=False)
|
91 |
min_silence = gr.Number(label="Min Silence (ms)", value=500)
|
92 |
silence_threshold = gr.Number(label="Silence Threshold (dB)", value=-50)
|
|
|
54 |
return output_path
|
55 |
|
56 |
# Gradio UI
|
57 |
+
with gr.Blocks(theme="Ryouko65777/ryo", js="() => {document.body.classList.toggle('dark');}") as demo:
|
58 |
+
gr.Markdown("## Ryo RVC ")
|
59 |
|
60 |
+
with gr.Tabs():
|
61 |
model_name = gr.Textbox(label="Model Name")
|
62 |
f0_change = gr.Number(label="Pitch Change (F0 Change)", value=0)
|
63 |
f0_method = gr.Dropdown(
|
|
|
86 |
rms_mix_rate = gr.Slider(label="RMS Mix Rate", minimum=0, maximum=1, value=0.25)
|
87 |
protect = gr.Slider(label="Protect", minimum=0, maximum=1, value=0.33)
|
88 |
|
|
|
89 |
split_infer = gr.Checkbox(label="Enable Split Inference", value=False)
|
90 |
min_silence = gr.Number(label="Min Silence (ms)", value=500)
|
91 |
silence_threshold = gr.Number(label="Silence Threshold (dB)", value=-50)
|