fffwefefefefef commited on
Commit
2ca18c0
·
verified ·
1 Parent(s): f5da604

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import gradio as gr
2
 
3
- gr.load(
4
- "models/ginipick/flux-lora-eric-cat",
5
- provider="hf-inference",
6
- ).launch()
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ with gr.Blocks(fill_height=True) as demo:
4
+ with gr.Sidebar():
5
+ gr.Markdown("# Inference Provider")
6
+ gr.Markdown("This Space showcases the ginipick/flux-lora-eric-cat model, served by the hf-inference API. Sign in with your Hugging Face account to use this API.")
7
+ button = gr.LoginButton("Sign in")
8
+ gr.load("models/ginipick/flux-lora-eric-cat", accept_token=button, provider="hf-inference")
9
+
10
+ demo.launch()