Update app.py
Browse files
app.py
CHANGED
|
@@ -1481,23 +1481,7 @@ def zip_downloader(model):
|
|
| 1481 |
else:
|
| 1482 |
return f'./weights/{model}.pth', "Could not find Index file."
|
| 1483 |
|
| 1484 |
-
|
| 1485 |
-
custom_dark_theme = gr.Theme(
|
| 1486 |
-
"dark",
|
| 1487 |
-
primary_hue="red",
|
| 1488 |
-
secondary_hue="rose",
|
| 1489 |
-
primary="rgba(255,0,0,1)",
|
| 1490 |
-
secondary="rgba(255,105,180,1)",
|
| 1491 |
-
light="#404040",
|
| 1492 |
-
dark="#121212",
|
| 1493 |
-
accent="#ff8c00",
|
| 1494 |
-
font="Arial, sans-serif",
|
| 1495 |
-
)
|
| 1496 |
-
|
| 1497 |
-
# Apply the custom dark theme globally
|
| 1498 |
-
gr.theme(custom_dark_theme)
|
| 1499 |
-
|
| 1500 |
-
with gr.Blocks(theme=custom_dark_theme, title="BasetaTube RVC TTS") as app:
|
| 1501 |
with gr.Tabs():
|
| 1502 |
with gr.TabItem("Inference"):
|
| 1503 |
gr.HTML("<table align='center' border='0' padding='10'><tr><td><img src='/file=Btubel.png' width='300' /></td><td align='center'><center><h1 style='font-size:30px'>RVC TTS</h1><h1 style='font-size:28px'>تحويل النص الى صوت عربي من اى صوت تريده <br>أشترك فى قناة بسيطة تيوب للمزيد من فيديوهات التكنولوجيا و الذكاء الاصطناعى<br><a href='https://www.youtube.com/@basetatube/?sub_confirmation=1' target='_blank'>أشترك الأن</a></h1></center></td></tr></table>Huggingface port by Ilaria of the Rejekt Easy GUI")
|
|
|
|
| 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"),css=".gradio-container {background-color: black}", title="BasetaTube RVC TTS") as app:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1485 |
with gr.Tabs():
|
| 1486 |
with gr.TabItem("Inference"):
|
| 1487 |
gr.HTML("<table align='center' border='0' padding='10'><tr><td><img src='/file=Btubel.png' width='300' /></td><td align='center'><center><h1 style='font-size:30px'>RVC TTS</h1><h1 style='font-size:28px'>تحويل النص الى صوت عربي من اى صوت تريده <br>أشترك فى قناة بسيطة تيوب للمزيد من فيديوهات التكنولوجيا و الذكاء الاصطناعى<br><a href='https://www.youtube.com/@basetatube/?sub_confirmation=1' target='_blank'>أشترك الأن</a></h1></center></td></tr></table>Huggingface port by Ilaria of the Rejekt Easy GUI")
|