f5-tts / app.py
zhouzhou363's picture
初始化 F5-TTS 语音合成项目
979e2e9
raw
history blame contribute delete
304 Bytes
import gradio as gr
from f5_tts.api import F5TTS
# 加载 TTS 模型
tts = F5TTS()
from f5_tts.infer.infer_gradio import app
with gr.Blocks() as main_app:
gr.Markdown("# This is an example of using F5-TTS within a bigger Gradio app")
# 其他Gradio组件
app.render()
main_app.launch()