Spaces:
Running
Running
Update utils.py
Browse files
utils.py
CHANGED
@@ -77,7 +77,7 @@ def generate_sticker(input_image: Image.Image, style: str ):
|
|
77 |
# IP-Adapter expects the reference image via image_embeds, which is produced by this function:
|
78 |
# image_embeds = pipe.prepare_ip_adapter_image_embeds(face_img)
|
79 |
|
80 |
-
prompt
|
81 |
"each with a different expression: laughing, angry, crying, sulking, thinking, sleepy, blowing a kiss, winking, surprised, happy, sad, and confused. "
|
82 |
"Each sticker has a bold black outline and a transparent background, in a playful, close-up cartoon style."
|
83 |
)
|
|
|
77 |
# IP-Adapter expects the reference image via image_embeds, which is produced by this function:
|
78 |
# image_embeds = pipe.prepare_ip_adapter_image_embeds(face_img)
|
79 |
|
80 |
+
prompt = (f"A set of twelve {style}-style digital stickers"
|
81 |
"each with a different expression: laughing, angry, crying, sulking, thinking, sleepy, blowing a kiss, winking, surprised, happy, sad, and confused. "
|
82 |
"Each sticker has a bold black outline and a transparent background, in a playful, close-up cartoon style."
|
83 |
)
|