Text-to-Audio / app.py
MaxGab's picture
Update app.py
4f50869 verified
raw
history blame
212 Bytes
import gradio as gr
from transformers import pipeline
pipe = pipeline(model="suno/bark-small")
output = pipe("Hey it's HuggingFace on the phone!")
audio = output["audio"]
sampling_rate = output["sampling_rate"]