Spaces:
Sleeping
Sleeping
kaytoo2022
commited on
Commit
•
9efaf21
1
Parent(s):
baabe58
Update app.py
Browse files
app.py
CHANGED
@@ -13,13 +13,13 @@ torch.backends.cuda.matmul.allow_tf32 = True
|
|
13 |
base_model = "black-forest-labs/FLUX.1-dev"
|
14 |
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
15 |
|
|
|
|
|
|
|
16 |
lora_repo = "kaytoo2022/cara-the-cavapoo-flux"
|
17 |
trigger_word = "" # Leave trigger_word blank if not used.
|
18 |
pipe.load_lora_weights(lora_repo)
|
19 |
|
20 |
-
# lora_cat = 'kaytoo2022/mtsd-cat-flux'
|
21 |
-
# pipe.load_lora_weights(lora_cat)
|
22 |
-
|
23 |
pipe.to("cuda")
|
24 |
|
25 |
MAX_SEED = 2**32-1
|
|
|
13 |
base_model = "black-forest-labs/FLUX.1-dev"
|
14 |
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
15 |
|
16 |
+
lora_2 = 'alvarobartt/ghibli-characters-flux-lora'
|
17 |
+
pipe.load_lora_weights(lora_2)
|
18 |
+
|
19 |
lora_repo = "kaytoo2022/cara-the-cavapoo-flux"
|
20 |
trigger_word = "" # Leave trigger_word blank if not used.
|
21 |
pipe.load_lora_weights(lora_repo)
|
22 |
|
|
|
|
|
|
|
23 |
pipe.to("cuda")
|
24 |
|
25 |
MAX_SEED = 2**32-1
|