Senwolof / app.py
Godvshumans's picture
Create app.py
356c7cd verified
raw
history blame contribute delete
258 Bytes
from transformers import pipeline
import gradio as gr
model = pipeline("text-to-speech", model="Alwaly/parler-tts-wolof-mini-v1-Jenny-colab")
def tts(text):
return model(text)
iface = gr.Interface(fn=tts, inputs="text", outputs="audio")
iface.launch()