Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1496,9 +1496,9 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="red", secondary_hue="rose"),
|
|
1496 |
|
1497 |
# Other RVC stuff
|
1498 |
with gr.Row():
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
|
1503 |
refresh_button = gr.Button("Refresh", variant="primary")
|
1504 |
if check_for_name() != '':
|
|
|
1496 |
|
1497 |
# Other RVC stuff
|
1498 |
with gr.Row():
|
1499 |
+
# Add an empty option as the default
|
1500 |
+
sid0_choices = [''] + sorted(names)
|
1501 |
+
sid0 = gr.Dropdown(label="1.Choose the model.", choices=sid0_choices, value=check_for_name())
|
1502 |
|
1503 |
refresh_button = gr.Button("Refresh", variant="primary")
|
1504 |
if check_for_name() != '':
|