TextToImageHW / app.py
Master0fNone's picture
Update app.py
c18c8d2 verified
raw
history blame contribute delete
489 Bytes
import gradio as gr
with gr.Blocks(fill_height=True) as demo:
with gr.Sidebar():
gr.Markdown("# Inference Provider")
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.")
button = gr.LoginButton("Log in")
gr.load("models/black-forest-labs/FLUX.1-dev", accept_token=button, provider="nebius")
demo.launch()