jlopez00's picture
Upload folder using huggingface_hub
c6fd5b2 verified
raw
history blame
661 Bytes
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()