NYUAD-ComNets
commited on
Commit
•
1b7c23d
1
Parent(s):
dd76804
Update README.md
Browse files
README.md
CHANGED
@@ -54,9 +54,6 @@ for i,j in zip(models,adapters):
|
|
54 |
pipeline.load_lora_weights(i, weight_name="pytorch_lora_weights.safetensors",adapter_name=j)
|
55 |
|
56 |
|
57 |
-
prof='doctor'
|
58 |
-
|
59 |
-
|
60 |
pipeline.set_adapters(random.choice(adapters))
|
61 |
|
62 |
|
@@ -66,7 +63,7 @@ compel = Compel(tokenizer=[pipeline.tokenizer, pipeline.tokenizer_2] ,
|
|
66 |
requires_pooled=[False, True],truncate_long_prompts=False)
|
67 |
|
68 |
|
69 |
-
conditioning, pooled = compel("a photo of a
|
70 |
|
71 |
negative_conditioning, negative_pooled = compel(negative_prompt)
|
72 |
[conditioning, negative_conditioning] = compel.pad_conditioning_tensors_to_same_length([conditioning, negative_conditioning])
|
@@ -96,7 +93,8 @@ image.save('/../../x.jpg')
|
|
96 |
|
97 |
NYUAD-ComNets/Asian_Female_Profession dataset was used to fine-tune stabilityai/stable-diffusion-xl-base-1.0
|
98 |
|
99 |
-
|
|
|
100 |
|
101 |
# Configurations
|
102 |
|
|
|
54 |
pipeline.load_lora_weights(i, weight_name="pytorch_lora_weights.safetensors",adapter_name=j)
|
55 |
|
56 |
|
|
|
|
|
|
|
57 |
pipeline.set_adapters(random.choice(adapters))
|
58 |
|
59 |
|
|
|
63 |
requires_pooled=[False, True],truncate_long_prompts=False)
|
64 |
|
65 |
|
66 |
+
conditioning, pooled = compel("a photo of a doctor, looking at the camera, closeup headshot facing forward, ultra quality, sharp focus")
|
67 |
|
68 |
negative_conditioning, negative_pooled = compel(negative_prompt)
|
69 |
[conditioning, negative_conditioning] = compel.pad_conditioning_tensors_to_same_length([conditioning, negative_conditioning])
|
|
|
93 |
|
94 |
NYUAD-ComNets/Asian_Female_Profession dataset was used to fine-tune stabilityai/stable-diffusion-xl-base-1.0
|
95 |
|
96 |
+
profession list =['pilot','doctor','nurse','pharmacist','dietitian','professor','teacher','mathematics scientist','computer engineer','programmer','tailor','cleaner',
|
97 |
+
'soldier','security guard','lawyer','manager','accountant','secretary','singer','journalist','youtuber','tiktoker','fashion model','chef','sushi chef']
|
98 |
|
99 |
# Configurations
|
100 |
|