Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 8 |
-
gr.load("models/
|
| 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()
|