import gradio as gr | |
from transformers import pipeline | |
pipe = pipeline(task="text-to-apeech", | |
model="espnet/kan-bayashi_ljspeech_vits") | |
gr.Interface.from_pipeline(pipe, | |
title="TTS", | |
description="Using pipeline with VITS TTS", | |
).launch(inbrowser=True) |