Update inference_webui.py
Browse files- inference_webui.py +1 -1
inference_webui.py
CHANGED
@@ -19,7 +19,7 @@ DEFAULT_IMAGE_PATH = "cover1.webp"
|
|
19 |
|
20 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
21 |
repo_id = "black-forest-labs/FLUX.1-dev"
|
22 |
-
adapter_id = "
|
23 |
|
24 |
pipeline = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
|
25 |
pipeline.load_lora_weights(adapter_id)
|
|
|
19 |
|
20 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
21 |
repo_id = "black-forest-labs/FLUX.1-dev"
|
22 |
+
adapter_id = "alvdansen/pola-photo-flux"
|
23 |
|
24 |
pipeline = DiffusionPipeline.from_pretrained(repo_id, torch_dtype=torch.bfloat16)
|
25 |
pipeline.load_lora_weights(adapter_id)
|