Update app.py
Browse files
app.py
CHANGED
@@ -1522,7 +1522,7 @@ with gr.Blocks(theme=theme) as app:
|
|
1522 |
|
1523 |
# Other RVC stuff
|
1524 |
with gr.Row():
|
1525 |
-
sid0 = gr.Dropdown(label="Choose the model.", choices=sorted(names), value=check_for_name())
|
1526 |
refresh_button = gr.Button("Refresh", variant="secondary")
|
1527 |
if check_for_name() != '':
|
1528 |
get_vc(sorted(names)[0])
|
@@ -1542,13 +1542,13 @@ with gr.Blocks(theme=theme) as app:
|
|
1542 |
inputs=[sid0],
|
1543 |
outputs=[spk_item],
|
1544 |
)
|
1545 |
-
but0 = gr.Button("Convert", variant="primary"
|
1546 |
with gr.Row():
|
1547 |
with gr.Column():
|
1548 |
with gr.Row():
|
1549 |
dropbox = gr.File(label="Drag your audio file and click refresh.")
|
1550 |
with gr.Row():
|
1551 |
-
record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath")
|
1552 |
with gr.Row():
|
1553 |
input_audio0 = gr.Dropdown(
|
1554 |
label="Choose the audio file.",
|
|
|
1522 |
|
1523 |
# Other RVC stuff
|
1524 |
with gr.Row():
|
1525 |
+
sid0 = gr.Dropdown(label="Choose the model.", choices=sorted(names), value=check_for_name(), size='lg')
|
1526 |
refresh_button = gr.Button("Refresh", variant="secondary")
|
1527 |
if check_for_name() != '':
|
1528 |
get_vc(sorted(names)[0])
|
|
|
1542 |
inputs=[sid0],
|
1543 |
outputs=[spk_item],
|
1544 |
)
|
1545 |
+
but0 = gr.Button("Convert", variant="primary")
|
1546 |
with gr.Row():
|
1547 |
with gr.Column():
|
1548 |
with gr.Row():
|
1549 |
dropbox = gr.File(label="Drag your audio file and click refresh.")
|
1550 |
with gr.Row():
|
1551 |
+
record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath", visible=False)
|
1552 |
with gr.Row():
|
1553 |
input_audio0 = gr.Dropdown(
|
1554 |
label="Choose the audio file.",
|