cutycat2000x
commited on
Commit
•
c0db55f
1
Parent(s):
9f9c962
Update app.py
Browse files
app.py
CHANGED
@@ -46,8 +46,8 @@ if torch.cuda.is_available():
|
|
46 |
use_safetensors=True,
|
47 |
)
|
48 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
49 |
-
pipe.load_lora_weights("cutycat2000x/LoRA", weight_name="lora.safetensors", adapter_name="
|
50 |
-
pipe.set_adapters("
|
51 |
pipe.to("cuda")
|
52 |
|
53 |
|
|
|
46 |
use_safetensors=True,
|
47 |
)
|
48 |
pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
49 |
+
pipe.load_lora_weights("cutycat2000x/LoRA", weight_name="lora.safetensors", adapter_name="adapt")
|
50 |
+
pipe.set_adapters("adapt")
|
51 |
pipe.to("cuda")
|
52 |
|
53 |
|