Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,8 +2,8 @@ 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
|
| 6 |
-
button = gr.LoginButton("
|
| 7 |
gr.load("models/black-forest-labs/FLUX.1-dev", accept_token=button, provider="nebius")
|
| 8 |
|
| 9 |
demo.launch()
|
|
|
|
| 2 |
with gr.Blocks(fill_height=True) as demo:
|
| 3 |
with gr.Sidebar():
|
| 4 |
gr.Markdown("# Inference Provider")
|
| 5 |
+
gr.Markdown("This Space demonstrates the black-forest-labs/FLUX.1-dev model, served by the nebius API. Sign in with your own Hugging Face account to use this API, because I don't have enough tokens.")
|
| 6 |
+
button = gr.LoginButton("Log in")
|
| 7 |
gr.load("models/black-forest-labs/FLUX.1-dev", accept_token=button, provider="nebius")
|
| 8 |
|
| 9 |
demo.launch()
|