Text-to-Audio / app.py
Sbeha001's picture
Update app.py
f76158a verified
raw
history blame contribute delete
448 Bytes
import gradio as gr
with gr.Blocks(fill_height=True) as demo:
with gr.Sidebar():
gr.Markdown("# Sign-In Provider")
gr.Markdown("This Space showcases the facebook/musicgen-small model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
button = gr.LoginButton("Sign in")
gr.load("models/facebook/musicgen-small", accept_token=button, provider="hf-inference")
demo.launch()