File size: 618 Bytes
7f8ed9c
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

with gr.Blocks(fill_height=True) as web:
    with gr.Sidebar():
        gr.Markdown("""# Atlas ~ 'An AI to help make your wildest dreams come true...'""")
        gr.Markdown("""This Space is built upon the black-forest-labs/FLUX.1-dev model, and uses nebius API [ for redirection purposes ]. Sign in with your Hugging Face account to use this API [ I didn't want to use my GPU resources, so you will have to use your own :D ].""")
        button = gr.LoginButton("Sign in")
    gr.load("models/black-forest-labs/FLUX.1-dev", accept_token=button, provider="nebius")
    
web.launch()
# Juan Lastra