Spaces:
Running on Zero
Running on Zero
Download style.css from black-forest-labs/FLUX.1-Fill-dev: direct link, hf CLI and curl.
- Browser
- Download file 641 Bytes
-
https://huggingface.co/spaces/black-forest-labs/FLUX.1-Fill-dev/resolve/0c9a17b84e4fab9f0c2f054c73b5f8eaf20896e2/style.css
- Command line
-
hf download hf://spaces/black-forest-labs/FLUX.1-Fill-dev@0c9a17b84e4fab9f0c2f054c73b5f8eaf20896e2/style.css
-
curl -L -o style.css https://huggingface.co/spaces/black-forest-labs/FLUX.1-Fill-dev/resolve/0c9a17b84e4fab9f0c2f054c73b5f8eaf20896e2/style.css
641 Bytes
| import gradio as gr | |
| css = """ | |
| html, body, #root { | |
| width: 100% ; | |
| height: 100% ; | |
| margin: 0 ; | |
| padding: 0 ; | |
| overflow-x: hidden ; | |
| overflow-y: auto ; | |
| } | |
| * { | |
| max-width: 100% ; | |
| box-sizing: border-box ; | |
| } | |
| img, svg, canvas, iframe { | |
| max-width: 100% ; | |
| height: auto ; | |
| } | |
| @media (max-width: 768px) { | |
| html { | |
| font-size: 14px ; | |
| } | |
| button, input, select, textarea { | |
| font-size: 14px ; | |
| } | |
| } | |
| """ | |
| with gr.Blocks(css=css) as demo: | |
| # Your UI here | |
| pass | |
| demo.launch() |