Spaces:
Running
Running
flux schnell
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from diffusers.pipelines.flux.pipeline_flux import FluxPipeline
|
|
4 |
from diffusers.models.controlnet_flux import FluxControlNetModel
|
5 |
from controlnet_aux import CannyDetector
|
6 |
|
7 |
-
base_model = 'black-forest-labs/FLUX.1-
|
8 |
controlnet_model = 'YishaoAI/flux-dev-controlnet-canny-kid-clothes'
|
9 |
|
10 |
controlnet = FluxControlNetModel.from_pretrained(controlnet_model, torch_dtype=torch.float16)
|
|
|
4 |
from diffusers.models.controlnet_flux import FluxControlNetModel
|
5 |
from controlnet_aux import CannyDetector
|
6 |
|
7 |
+
base_model = 'black-forest-labs/FLUX.1-schnell'
|
8 |
controlnet_model = 'YishaoAI/flux-dev-controlnet-canny-kid-clothes'
|
9 |
|
10 |
controlnet = FluxControlNetModel.from_pretrained(controlnet_model, torch_dtype=torch.float16)
|