Sbeha001 commited on
Commit
8e7e950
·
verified ·
1 Parent(s): 8e9860d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ with gr.Blocks(fill_height=True) as demo:
4
  with gr.Sidebar():
5
  gr.Markdown("# Sign-In Requirement")
6
  gr.Markdown("This Space showcases the black-forest-labs/FLUX.1-dev model, served by the together API. Sign in with your Hugging Face account to use this API.")
7
- button = gr.LoginButton("Sign in")
8
- gr.load("models/black-forest-labs/FLUX.1-dev", accept_token=button, provider="together")
9
 
10
  demo.launch()
 
4
  with gr.Sidebar():
5
  gr.Markdown("# Sign-In Requirement")
6
  gr.Markdown("This Space showcases the black-forest-labs/FLUX.1-dev model, served by the together API. Sign in with your Hugging Face account to use this API.")
7
+ button = gr.LoginButton("Sign-in")
8
+ gr.load("models/TexttoImages", accept_token=button, provider="together")
9
 
10
  demo.launch()