Spaces:
Runtime error
Runtime error
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() |