JuanLastra commited on
Commit
7f8ed9c
·
verified ·
1 Parent(s): 80a1fa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -1
app.py CHANGED
@@ -1 +1,11 @@
1
- black-forest-labs/FLUX.1-dev
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks(fill_height=True) as web:
4
+ with gr.Sidebar():
5
+ gr.Markdown("""# Atlas ~ 'An AI to help make your wildest dreams come true...'""")
6
+ 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 ].""")
7
+ button = gr.LoginButton("Sign in")
8
+ gr.load("models/black-forest-labs/FLUX.1-dev", accept_token=button, provider="nebius")
9
+
10
+ web.launch()
11
+ # Juan Lastra