Master0fNone commited on
Commit
3171a74
·
verified ·
1 Parent(s): e48529c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,10 +1,9 @@
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 black-forest-labs/FLUX.1-dev model, served by the nebius API. Sign in with your Hugging Face account to use this API.")
7
  button = gr.LoginButton("Sign in")
8
- gr.load("Text to Image Generation Test/Demo", accept_token=button, provider="nebius")
9
 
10
  demo.launch()
 
1
  import gradio as gr
 
2
  with gr.Blocks(fill_height=True) as demo:
3
  with gr.Sidebar():
4
  gr.Markdown("# Inference Provider")
5
  gr.Markdown("This Space showcases the black-forest-labs/FLUX.1-dev model, served by the nebius API. Sign in with your Hugging Face account to use this API.")
6
  button = gr.LoginButton("Sign in")
7
+ gr.load("models/black-forest-labs/FLUX.1-dev", accept_token=button, provider="nebius")
8
 
9
  demo.launch()