Instructions to use jasperai/Flux.1-dev-Controlnet-Upscaler with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use jasperai/Flux.1-dev-Controlnet-Upscaler with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("jasperai/Flux.1-dev-Controlnet-Upscaler", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- README.md +1 -1
- diffusion_pytorch_model.safetensors +2 -2
README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
base_model:
|
| 3 |
- black-forest-labs/FLUX.1-dev
|
| 4 |
library_name: diffusers
|
|
|
|
| 5 |
license_name: flux-1-dev-non-commercial-license
|
| 6 |
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 7 |
pipeline_tag: image-to-image
|
|
@@ -9,7 +10,6 @@ tags:
|
|
| 9 |
- ControlNet
|
| 10 |
- super-resolution
|
| 11 |
- upscaler
|
| 12 |
-
license: cc-by-nc-4.0
|
| 13 |
---
|
| 14 |
# ⚡ Flux.1-dev: Upscaler ControlNet ⚡
|
| 15 |
|
|
|
|
| 2 |
base_model:
|
| 3 |
- black-forest-labs/FLUX.1-dev
|
| 4 |
library_name: diffusers
|
| 5 |
+
license: cc-by-nc-4.0
|
| 6 |
license_name: flux-1-dev-non-commercial-license
|
| 7 |
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
|
| 8 |
pipeline_tag: image-to-image
|
|
|
|
| 10 |
- ControlNet
|
| 11 |
- super-resolution
|
| 12 |
- upscaler
|
|
|
|
| 13 |
---
|
| 14 |
# ⚡ Flux.1-dev: Upscaler ControlNet ⚡
|
| 15 |
|
diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2a7ea24d2037ff2aa4d25f8b4ce9fe7e739a2cfe6b9d05106788005d5058c8ca
|
| 3 |
+
size 3583232168
|