jukwi-sample / app.py
vovahimself's picture
transformers' jukebox
e789c49
raw
history blame
263 Bytes
from transformers import JukeboxModel , JukeboxTokenizer
from transformers.models.jukebox import convert_jukebox
import gradio as gr
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()