Spaces:
Runtime error
Runtime error
File size: 258 Bytes
356c7cd |
1 2 3 4 5 6 7 8 9 10 |
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() |