Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1481,12 +1481,11 @@ def zip_downloader(model):
|
|
| 1481 |
else:
|
| 1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
| 1483 |
|
| 1484 |
-
with gr.Blocks(theme=gr.themes.Soft(primary_hue="
|
| 1485 |
with gr.Tabs():
|
| 1486 |
with gr.TabItem("Inference"):
|
| 1487 |
-
gr.HTML("<h1>
|
| 1488 |
-
gr.HTML("<h10>
|
| 1489 |
-
gr.HTML("<h4> Mainline L </h4>")
|
| 1490 |
|
| 1491 |
# Inference Preset Row
|
| 1492 |
# with gr.Row():
|
|
@@ -1498,7 +1497,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="green", secondary_hue="lime"),
|
|
| 1498 |
|
| 1499 |
# Other RVC stuff
|
| 1500 |
with gr.Row():
|
| 1501 |
-
sid0 = gr.Dropdown(label="
|
| 1502 |
refresh_button = gr.Button("Refresh", variant="primary")
|
| 1503 |
if check_for_name() != '':
|
| 1504 |
get_vc(sorted(names)[0])
|
|
@@ -1528,7 +1527,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="green", secondary_hue="lime"),
|
|
| 1528 |
record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath")
|
| 1529 |
with gr.Row():
|
| 1530 |
input_audio0 = gr.Dropdown(
|
| 1531 |
-
label="
|
| 1532 |
value="./audios/Test_Audio.mp3",
|
| 1533 |
choices=audio_files
|
| 1534 |
)
|
|
@@ -1569,7 +1568,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="green", secondary_hue="lime"),
|
|
| 1569 |
interactive=False,
|
| 1570 |
)
|
| 1571 |
|
| 1572 |
-
with gr.Accordion('
|
| 1573 |
with gr.Column():
|
| 1574 |
ilariaid=gr.Dropdown(label="Voice:", choices=ilariavoices, value="English-Jenny (Female)")
|
| 1575 |
ilariatext = gr.Textbox(label="Input your Text", interactive=True, value="This is a test.")
|
|
|
|
| 1481 |
else:
|
| 1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
| 1483 |
|
| 1484 |
+
with gr.Blocks(theme=gr.themes.Soft(primary_hue="purple", secondary_hue="purple"), title="Applio V3") as app:
|
| 1485 |
with gr.Tabs():
|
| 1486 |
with gr.TabItem("Inference"):
|
| 1487 |
+
gr.HTML("<h1> Applio-RVC-Fork V3 </h1>")
|
| 1488 |
+
gr.HTML("<h10> This product is in early stages of development and is subject to significant changes. Your feedback is appreciated as we work towards refining the final version. </h10>")
|
|
|
|
| 1489 |
|
| 1490 |
# Inference Preset Row
|
| 1491 |
# with gr.Row():
|
|
|
|
| 1497 |
|
| 1498 |
# Other RVC stuff
|
| 1499 |
with gr.Row():
|
| 1500 |
+
sid0 = gr.Dropdown(label="Choose the model.", choices=sorted(names), value=check_for_name())
|
| 1501 |
refresh_button = gr.Button("Refresh", variant="primary")
|
| 1502 |
if check_for_name() != '':
|
| 1503 |
get_vc(sorted(names)[0])
|
|
|
|
| 1527 |
record_button=gr.Audio(source="microphone", label="Or you can use your microphone!", type="filepath")
|
| 1528 |
with gr.Row():
|
| 1529 |
input_audio0 = gr.Dropdown(
|
| 1530 |
+
label="Choose the audio file.",
|
| 1531 |
value="./audios/Test_Audio.mp3",
|
| 1532 |
choices=audio_files
|
| 1533 |
)
|
|
|
|
| 1568 |
interactive=False,
|
| 1569 |
)
|
| 1570 |
|
| 1571 |
+
with gr.Accordion('TTS', open=True):
|
| 1572 |
with gr.Column():
|
| 1573 |
ilariaid=gr.Dropdown(label="Voice:", choices=ilariavoices, value="English-Jenny (Female)")
|
| 1574 |
ilariatext = gr.Textbox(label="Input your Text", interactive=True, value="This is a test.")
|