Update demo.py
Browse files
demo.py
CHANGED
@@ -418,18 +418,37 @@ model_details_html = """
|
|
418 |
with gr.Blocks() as model_details_tab:
|
419 |
gr.HTML(model_details_html)
|
420 |
|
421 |
-
theme = gr.themes.Base(
|
422 |
-
|
423 |
-
)
|
424 |
|
425 |
-
app = gr.TabbedInterface(
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
431 |
|
432 |
|
433 |
if __name__ == "__main__":
|
434 |
-
|
435 |
-
app.queue(api_open=False, max_size=15).launch(show_api=False, share=True)
|
|
|
418 |
with gr.Blocks() as model_details_tab:
|
419 |
gr.HTML(model_details_html)
|
420 |
|
421 |
+
# theme = gr.themes.Base(
|
422 |
+
# font=[gr.themes.GoogleFont('Libre Franklin'), gr.themes.GoogleFont('Public Sans'), 'system-ui', 'sans-serif'],
|
423 |
+
# )
|
424 |
|
425 |
+
# app = gr.TabbedInterface(
|
426 |
+
# [longform, audio_inf, info_tab, model_details_tab],
|
427 |
+
# ['Text-guided Synthesis', 'Voice-guided Synthesis', 'Intuition & Tips', 'Model Details'],
|
428 |
+
# title="The Poor Man's TTS (Experimental)",
|
429 |
+
# theme="Respair/[email protected]"
|
430 |
+
# )
|
431 |
+
|
432 |
+
|
433 |
+
# if __name__ == "__main__":
|
434 |
+
# print("Launching Client Gradio App...")
|
435 |
+
# app.queue(api_open=False, max_size=15).launch(show_api=False, share=True)
|
436 |
+
|
437 |
+
|
438 |
+
|
439 |
+
|
440 |
+
with gr.Blocks(title="The Poor Man's TTS (Experimental 🔧)", css=custom_css + "footer{display:none !important}", theme="Respair/[email protected]") as demo:
|
441 |
+
# gr.DuplicateButton("Duplicate Space")
|
442 |
+
gr.Markdown(INTROTXT)
|
443 |
+
|
444 |
+
|
445 |
+
gr.TabbedInterface(
|
446 |
+
[longform, audio_inf, info_tab, model_details_tab],
|
447 |
+
['Text-guided Synthesis', 'Voice-guided Synthesis', 'Intuition & Tips', 'Model Details'],
|
448 |
+
title="The Poor Man's TTS (Experimental)",
|
449 |
+
theme="Respair/[email protected]"
|
450 |
+
)
|
451 |
|
452 |
|
453 |
if __name__ == "__main__":
|
454 |
+
demo.queue(api_open=False, max_size=15).launch(show_api=False, share=True)
|
|