Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1 +1,11 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|