import gradio as gr | |
with gr.Blocks(fill_height=True) as demo: | |
with gr.Sidebar(): | |
gr.Markdown("# Inference Provider") | |
button = gr.LoginButton("Sign in") | |
gr.load("models/dima806/music_genres_classification", accept_token=button, provider="hf-inference") | |
demo.launch() |