Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,9 +55,12 @@ def inference(model_name, audio, f0_change, f0_method, min_pitch, max_pitch, cre
|
|
| 55 |
|
| 56 |
# Gradio UI
|
| 57 |
with gr.Blocks(theme="Ryouko65777/ryo", js="() => {document.body.classList.toggle('dark');}") as demo:
|
| 58 |
-
gr.Markdown("
|
| 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(
|
|
@@ -96,7 +99,6 @@ with gr.Blocks(theme="Ryouko65777/ryo", js="() => {document.body.classList.toggl
|
|
| 96 |
f0_autotune = gr.Checkbox(label="Enable F0 Autotune", value=False)
|
| 97 |
output_format = gr.Dropdown(label="Output Format", choices=["wav", "flac", "mp3"], value="wav")
|
| 98 |
|
| 99 |
-
audio_input = gr.Audio(label="Input Audio", type="filepath")
|
| 100 |
output_audio = gr.Audio(label="Output Audio")
|
| 101 |
|
| 102 |
submit_btn = gr.Button("Run Inference")
|
|
|
|
| 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 |
+
|
| 61 |
with gr.Tabs():
|
| 62 |
+
audio_input = gr.Audio(label="Input Audio", type="filepath")
|
| 63 |
+
|
| 64 |
model_name = gr.Textbox(label="Model Name")
|
| 65 |
f0_change = gr.Number(label="Pitch Change (F0 Change)", value=0)
|
| 66 |
f0_method = gr.Dropdown(
|
|
|
|
| 99 |
f0_autotune = gr.Checkbox(label="Enable F0 Autotune", value=False)
|
| 100 |
output_format = gr.Dropdown(label="Output Format", choices=["wav", "flac", "mp3"], value="wav")
|
| 101 |
|
|
|
|
| 102 |
output_audio = gr.Audio(label="Output Audio")
|
| 103 |
|
| 104 |
submit_btn = gr.Button("Run Inference")
|