Spaces:
Build error
Build error
Update app.py
Browse files1234567import gradio as grdef greet(name):return "Hello " + name + "!!"demo = gr.Interface(fn=greet, inputs="text", outputs="text")demo.launch()12345678910import gradio as grwith 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