Spaces:
Runtime error
Runtime error
Download app.py from JuanLastra/Image: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/spaces/JuanLastra/Image/resolve/main/app.py
- Command line
-
hf download hf://spaces/JuanLastra/Image/app.py
-
curl -L -o app.py https://huggingface.co/spaces/JuanLastra/Image/resolve/main/app.py
618 Bytes
| 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 |