Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -71,9 +71,6 @@ def generate(
|
|
71 |
elif style=="Logo":
|
72 |
pipe.load_lora_weights("artificialguybr/LogoRedmond-LogoLoraForSDXL", weight_name="LogoRedmond_LogoRedAF.safetensors", adapter_name="logo")
|
73 |
pipe.set_adapters(["logo"])
|
74 |
-
else:
|
75 |
-
pipe.load_lora_weights("ehristoforu/dalle-3-xl-v2", weight_name="dalle-3-xl-lora-v2.safetensors", adapter_name="dalle2")
|
76 |
-
pipe.set_adapters(["dalle2"], adapter_weights=[0.3])
|
77 |
|
78 |
pipe.to("cuda")
|
79 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|
|
|
71 |
elif style=="Logo":
|
72 |
pipe.load_lora_weights("artificialguybr/LogoRedmond-LogoLoraForSDXL", weight_name="LogoRedmond_LogoRedAF.safetensors", adapter_name="logo")
|
73 |
pipe.set_adapters(["logo"])
|
|
|
|
|
|
|
74 |
|
75 |
pipe.to("cuda")
|
76 |
seed = int(randomize_seed_fn(seed, randomize_seed))
|