Spaces:
Running
Running
flux dev
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ HF_TOKEN = os.getenv("HF_TOKEN")
|
|
13 |
dtype = torch.bfloat16
|
14 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
15 |
|
16 |
-
base_model = "black-forest-labs/FLUX.1-
|
17 |
controlnet_model = "YishaoAI/flux-dev-controlnet-canny-kid-clothes"
|
18 |
|
19 |
controlnet = FluxControlNetModel.from_pretrained(controlnet_model, torch_dtype=dtype)
|
|
|
13 |
dtype = torch.bfloat16
|
14 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
15 |
|
16 |
+
base_model = "black-forest-labs/FLUX.1-dev"
|
17 |
controlnet_model = "YishaoAI/flux-dev-controlnet-canny-kid-clothes"
|
18 |
|
19 |
controlnet = FluxControlNetModel.from_pretrained(controlnet_model, torch_dtype=dtype)
|