Commit
·
a0306f5
1
Parent(s):
49c2c64
Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ negative_prompt = "cartoon, anime, 3d, painting, b&w, low quality"
|
|
37 |
|
38 |
pipeline = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", variant="fp16", use_safetensors=True, torch_dtype=torch.float16).to("cuda")
|
39 |
|
40 |
-
pipeline.load_lora_weights("NYUAD-ComNets/
|
41 |
|
42 |
compel = Compel(tokenizer=[pipeline.tokenizer, pipeline.tokenizer_2] ,
|
43 |
text_encoder=[pipeline.text_encoder, pipeline.text_encoder_2],
|
|
|
37 |
|
38 |
pipeline = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", variant="fp16", use_safetensors=True, torch_dtype=torch.float16).to("cuda")
|
39 |
|
40 |
+
pipeline.load_lora_weights("NYUAD-ComNets/Ethnicity_Diversity_Model", weight_name="pytorch_lora_weights.safetensors")
|
41 |
|
42 |
compel = Compel(tokenizer=[pipeline.tokenizer, pipeline.tokenizer_2] ,
|
43 |
text_encoder=[pipeline.text_encoder, pipeline.text_encoder_2],
|