File size: 661 Bytes
1378843
7e9f59c
c6fd5b2
 
 
 
a8c39f5
 
c6fd5b2
a8c39f5
 
c6fd5b2
a8c39f5
c6fd5b2
a8c39f5
 
c6fd5b2
1378843
c6fd5b2
 
b3385db
c6fd5b2
2c01ee6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import gradio as gr

from .installation_checker import check_installation
from .prerequisites_download import prerequisites_download_pipeline
from .tabs import tts_tab, workflow_tab
from .themes import Applio

# Run prerequisites
prerequisites_download_pipeline()

# Check installation
check_installation()

theme = Applio()

# Define Gradio interface
with gr.Blocks(theme=theme, title="TTS Playground", css="footer{display:none !important}") as app:
    gr.Markdown("# Text-to-Speech Playground")
    gr.Markdown("Enter a page URL, click fetch and then synthesize")
    with gr.Tab("Workflow"):
        workflow_tab()
    with gr.Tab("TTS"):
        tts_tab()