Spaces:
Build error
Build error
Update app.py
Browse files1234567345678910import gradio as gr
def greet(name): return "Hello " + name + "!!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")demo.launch()with gr.Blocks(fill_height=True) as demo: with gr.Sidebar(): gr.Markdown("# Inference Provider") gr.Markdown("This Space showcases the siebert/sentiment-roberta-large-english 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/siebert/sentiment-roberta-large-english", accept_token=button, provider="hf-inference") demo.launch()app.py+8-5