Update app.py
Browse files
app.py
CHANGED
@@ -68,6 +68,12 @@ CAPTION_TYPE_MAP = {
|
|
68 |
"Write a caption for this image as if it were being used for a social media post. Limit the caption to {word_count} words.",
|
69 |
"Write a {length} caption for this image as if it were being used for a social media post.",
|
70 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
72 |
|
73 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
|
|
68 |
"Write a caption for this image as if it were being used for a social media post. Limit the caption to {word_count} words.",
|
69 |
"Write a {length} caption for this image as if it were being used for a social media post.",
|
70 |
],
|
71 |
+
|
72 |
+
"Style Prompt": [
|
73 |
+
"Generate a detailed style prompt for this image incorporating the specified lens type, film stock, composition style, lighting aspect, special technique, and color effect.",
|
74 |
+
"Generate a detailed style prompt for this image incorporating the specified lens type, film stock, composition style, lighting aspect, special technique, and color effect. Limit the prompt to {word_count} words.",
|
75 |
+
"Generate a {length} detailed style prompt for this image incorporating the specified lens type, film stock, composition style, lighting aspect, special technique, and color effect.",
|
76 |
+
],
|
77 |
}
|
78 |
|
79 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|