JKKCE's picture
Update app.py
a8b8925 verified
Raw History Blame Contribute Delete
482 Bytes
import gradio as gr
import spaces
@spaces.GPU
with gr.Blocks() as demo:
with gr.Sidebar():
gr.Markdown("# Inference Provider")
gr.Markdown("This Space showcases the gouthaml/raos-virtual-try-on-model 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/gouthaml/raos-virtual-try-on-model", accept_token=button, provider="hf-inference")
demo.launch()