Spaces:
Running
Running
Update src/covergen.py
Browse files- src/covergen.py +2 -17
src/covergen.py
CHANGED
@@ -29,28 +29,13 @@ if __name__ == '__main__':
|
|
29 |
|
30 |
with gr.Blocks(
|
31 |
title="CoverGen Lite - Politrees",
|
32 |
-
css="footer{display:none !important}"
|
33 |
-
theme=gr.themes.Soft(
|
34 |
-
primary_hue="green",
|
35 |
-
secondary_hue="green",
|
36 |
-
neutral_hue="neutral",
|
37 |
-
spacing_size="sm",
|
38 |
-
radius_size="lg",
|
39 |
-
)) as app:
|
40 |
|
41 |
if warning:
|
42 |
with gr.Column(variant='panel'):
|
43 |
gr.HTML("<center><h2>This space is running too slow due to a weak server, so I made a Google Colab notebook to work faster with this interface: <a href='https://colab.research.google.com/drive/1HzuPgICRrjqUWQWb5Zn-l07m099-n-Nr'>Google Colab Notebook</a>.</h2></center>")
|
44 |
|
45 |
-
|
46 |
-
gr.HTML("<center><h1>Welcome to CoverGen Lite - Politrees</h1></center>")
|
47 |
-
with gr.Column(variant='panel'):
|
48 |
-
gr.HTML("<center><h2><a href='https://t.me/Politrees2'>Telegram</a></h2></center>")
|
49 |
-
gr.HTML("<center><h2><a href='https://t.me/pol1trees'>Telegram Channel</a></h2></center>")
|
50 |
-
gr.HTML("<center><h2><a href='https://t.me/+GMTP7hZqY0E4OGRi'>Telegram Chat</a></h2></center>")
|
51 |
-
with gr.Column(variant='panel'):
|
52 |
-
gr.HTML("<center><h2><a href='https://www.youtube.com/@Politrees?sub_confirmation=1'>YouTube</a></h2></center>")
|
53 |
-
gr.HTML("<center><h2><a href='https://github.com/Bebra777228'>GitHub</a></h2></center>")
|
54 |
|
55 |
with gr.Tab("Voice Conversion"):
|
56 |
with gr.Row(equal_height=False):
|
|
|
29 |
|
30 |
with gr.Blocks(
|
31 |
title="CoverGen Lite - Politrees",
|
32 |
+
css="footer{display:none !important}") as app:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
if warning:
|
35 |
with gr.Column(variant='panel'):
|
36 |
gr.HTML("<center><h2>This space is running too slow due to a weak server, so I made a Google Colab notebook to work faster with this interface: <a href='https://colab.research.google.com/drive/1HzuPgICRrjqUWQWb5Zn-l07m099-n-Nr'>Google Colab Notebook</a>.</h2></center>")
|
37 |
|
38 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
with gr.Tab("Voice Conversion"):
|
41 |
with gr.Row(equal_height=False):
|