Update app.py
Browse files
app.py
CHANGED
@@ -1481,12 +1481,10 @@ 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.Default(primary_hue="
|
1485 |
with gr.Tabs():
|
1486 |
with gr.TabItem("Inference"):
|
1487 |
-
gr.HTML("<h1>
|
1488 |
-
gr.HTML("<h10> You can find voice models on AI Hub: https://discord.gg/aihub </h10>")
|
1489 |
-
gr.HTML("<h4> Huggingface port by Ilaria of the Rejekt Easy GUI </h4>")
|
1490 |
|
1491 |
# Inference Preset Row
|
1492 |
# with gr.Row():
|
@@ -1502,7 +1500,7 @@ with gr.Blocks(theme=gr.themes.Default(primary_hue="pink", secondary_hue="rose")
|
|
1502 |
refresh_button = gr.Button("Refresh", variant="primary")
|
1503 |
if check_for_name() != '':
|
1504 |
get_vc(sorted(names)[0])
|
1505 |
-
vc_transform0 = gr.Number(label="Pitch: 0 from man to man (or woman to woman); 12 from man to woman and -12 from woman to man.", value=0)
|
1506 |
#clean_button = gr.Button(i18n("卸载音色省显存"), variant="primary")
|
1507 |
spk_item = gr.Slider(
|
1508 |
minimum=0,
|
|
|
1481 |
else:
|
1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
1483 |
|
1484 |
+
with gr.Blocks(theme=gr.themes.Default(primary_hue="red", secondary_hue="rose"), title="BasetaTube RVC TTS") as app:
|
1485 |
with gr.Tabs():
|
1486 |
with gr.TabItem("Inference"):
|
1487 |
+
gr.HTML("<table align='center' border='0' padding='100'><tr><td><img src='https://drive.google.com/uc?export=view&id=1i6f7b3M9MnRe1lRAFZ3rysFmEZEk-Z5_' width='300' /></td><td align='center' ><h1 style='font-size:30px'>تحويل النص الى صوت عربي من اى صوت تريده <br>أشترك فى قناة بسيطة تيوب للمزيد من فيديوهات التكنولوجيا و الذكاء الاصطناعى<br><a href='https://www.youtube.com/@basetatube/?sub_confirmation=1' target='_blank'>أشترك الأن</a></h1></td></tr></table>Huggingface port by Ilaria of the Rejekt Easy GUI")
|
|
|
|
|
1488 |
|
1489 |
# Inference Preset Row
|
1490 |
# with gr.Row():
|
|
|
1500 |
refresh_button = gr.Button("Refresh", variant="primary")
|
1501 |
if check_for_name() != '':
|
1502 |
get_vc(sorted(names)[0])
|
1503 |
+
vc_transform0 = gr.Number(label="درجة الصوت: 0 من رجل إلى رجل (أو من امرأة إلى امرأة)؛ 12 من رجل الى أمرأة و-12 من أمرأة إلى رجل<br/>Pitch: 0 from man to man (or woman to woman); 12 from man to woman and -12 from woman to man.", value=0)
|
1504 |
#clean_button = gr.Button(i18n("卸载音色省显存"), variant="primary")
|
1505 |
spk_item = gr.Slider(
|
1506 |
minimum=0,
|