File size: 389 Bytes
80c5d34 b70aec3 80c5d34 a6049fe 28e0280 | 1 2 3 4 5 6 7 8 9 10 11 12 | import gradio as gr
with gr.Blocks(fill_height=True) as demo:
with gr.Sidebar():
gr.Markdown("# Inference Provider")
gr.Markdown("Sign in with your Hugging Face account to use this API.")
button = gr.LoginButton("Sign in")
gr.load("models/prithivMLmods/Kontext-Watermark-Remover", accept_token=button, provider="auto")
# Launch the app
demo.launch()
|