Spaces:
Configuration error
Configuration error
File size: 304 Bytes
979e2e9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
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()
|