File size: 212 Bytes
4112de8
4f50869
4112de8
4f50869
 
 
 
 
1
2
3
4
5
6
7
8
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"]