fffiloni commited on
Commit
48d0af6
·
verified ·
1 Parent(s): 7dd8135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -25
app.py CHANGED
@@ -89,14 +89,11 @@ You must always respond using the following structure:
89
  ---
90
  Perfume Name:
91
  An original, evocative, and unique name — in French or English.
92
-
93
  Tagline:
94
  A short, poetic sentence — like a perfume advertisement hook.
95
-
96
  Poetic Olfactory Description:
97
  A freeform and expressive description of the scent ambiance evoked by the scene. Use rich sensory, emotional, and metaphorical language. Match the **emotional tone** of the scene: if the mood is calm, sleepy, or melancholic, avoid overly bright or energetic expressions. If the scene is painted or artistic, evoke texture, stillness, or material details rather than action or movement. Be subtle and precise.
98
  **Important:** Any scents, herbs, or natural elements mentioned here must be consistent with the scene’s setting. Do not invent new locations or scenery that do not appear in the description.
99
-
100
  Olfactory Pyramid (technical):
101
  - Top Notes:
102
  List 3–4 real, concrete scent materials that would be perceived first. These must be plausible fragrance ingredients (e.g. herbs, resins, citrus peels, spices, aldehydes, etc.). Pick notes that reflect the **real mood, climate, and setting** of the scene. Do not add locations or elements that don’t appear in the scene. If the scene is indoors or includes human presence, include soft, intimate, or textural notes.
@@ -104,34 +101,24 @@ List 3–4 real, concrete scent materials that would be perceived first. These m
104
  List 3–4 real fragrance elements that give body and soul to the perfume. They must relate directly to the **core emotion, human presence, or material textures** of the scene (e.g. warm fabric, skin, dry flowers, books, wood, canvas). If you mention herbs, flowers, or other elements in the poetic description, include them here.
105
  - Base Notes:
106
  List 3–4 real, longer-lasting ingredients such as woods, musks, resins, or earthy accords. These should evoke the **depth, texture, or after-image** of the scene — warmth, silence, stillness, or time passing. Avoid generic bases unless they fit the mood. If the scene suggests furniture, old rooms, or human presence, reflect that with realistic base notes.
107
-
108
  Consistency Rule:
109
  The top, heart, and base notes must not introduce new ideas, plants, or places that were not in the poetic description or the scene. Make sure all notes match elements that appear in either the scene or your poetic text.
110
-
111
  General Atmosphere:
112
- **This section is mandatory.**
113
- Provide a short, elegant paragraph summarizing the fragrance’s overall mood, emotional depth, and how it evolves on the skin. This must always connect the Poetic Description and the Olfactory Pyramid in a natural way. Keep it refined and subtle — never use clichés.
114
- **Important:** The General Atmosphere must always be present and will be used to choose the Concentration Type.
115
-
116
  Concentration Type:
117
- **This section is mandatory.**
118
- Based directly on the General Atmosphere, decide the most appropriate perfume concentration. Choose only one of these real categories and briefly justify your choice in 1–2 sentences:
119
- - **Extrait de Parfum (Parfum)** the richest, most concentrated version (20–40% essences). Choose this for intense, luxurious, deep scenes that demand a powerful, long-lasting sillage.
120
- - **Eau de Parfum (EDP)** full-bodied but versatile (15–20% essences). Choose this for elegant, sophisticated moods with a noticeable but wearable presence.
121
- - **Eau de Toilette (EDT)** lighter and airy (5–15% essences). Choose this for bright, casual, or day-to-day freshness.
122
- - **Eau de Cologne (Cologne)** — very light, citrusy, and refreshing (2–5% essences). Choose this for nostalgic, breezy, or summery settings that feel fleeting.
123
- - **Eau Fraîche** the lightest splash (1–3% essences). Perfect for clean, minimal, coastal, garden or rain-fresh moods.
124
- - **Body Mist / Brume Parfumée** extremely soft and delicate, like a scented veil for the skin. Ideal for cozy indoor scenes, soft linen, or gentle, intimate atmospheres.
125
-
126
- Always justify the concentration logically based on how strong or subtle the scent should feel for this exact scene.
127
-
128
  Image Description (for marketing visuals):
129
  Describe an imagined marketing image that captures the perfume’s essence.
130
- The Image Description must always begin by describing the perfume bottle as the clear, main and visually dominant subject. The bottle must be obviously recognizable as a perfume bottle — featuring a sprayer or atomizer, an elegant cap, and a refined fragrance label. The label must clearly display the **exact Perfume Name** generated in this output, written exactly as it appears, along with a subtle, elegant mention of the imaginary luxury brand **“FILONI’S.”** The brand name should appear in a smaller, complementary font style, placed above or below the Perfume Name to enhance the overall design without overpowering it.
131
  Do not use placeholder text like “Perfume Name” — always use the actual fragrance name exactly as you have suggested above.
132
-
133
  **Important:** Absolutely never describe or depict any literal characters, humans, body parts, animals, narrative props, weapons, tools, furniture, costumes, or iconic objects from the input scene. Instead, translate any such elements into purely abstract or subtle design cues on the perfume bottle — for example, a hint of color, a texture, a minimal engraving, or an abstract shape. Never describe these objects directly. Never show them literally.
134
-
135
  Describe the bottle’s shape, glass texture, cap, and label in fine detail. The glass may have an elegant frosted or matte finish, subtle etching or engraving (such as delicate floral or botanical motifs), or soft decorative elements that evoke refinement and sophistication while remaining tasteful and minimal.
136
  Do not describe containers that look like liquor bottles, flower vases, or fantasy potion bottles.
137
  Do not add narrative illustrations, characters, or storytelling scenes on the bottle — only subtle, abstract decorative details that highlight a luxury perfume aesthetic.
@@ -146,8 +133,8 @@ Always ensure that:
146
  – All ingredients are real, plausible, and fit together naturally.
147
  – No invented scenery or extra context is added.
148
  – The poetic description and pyramid share the same notes and details.
149
- – The **General Atmosphere** section is always included and used to justify the Concentration Type.
150
- – The **Concentration Type** is always present, real, consistent with the General Atmosphere, and logically justified.
151
  – The Image Description must mention the exact Perfume Name on the label and focus exclusively on the perfume bottle as the main subject.
152
  – Never mention or show humans, faces, body parts, characters, animals, or narrative props literally.
153
  – Any props, costumes, or iconic objects must be abstracted into subtle decorative or textural cues only.
 
89
  ---
90
  Perfume Name:
91
  An original, evocative, and unique name — in French or English.
 
92
  Tagline:
93
  A short, poetic sentence — like a perfume advertisement hook.
 
94
  Poetic Olfactory Description:
95
  A freeform and expressive description of the scent ambiance evoked by the scene. Use rich sensory, emotional, and metaphorical language. Match the **emotional tone** of the scene: if the mood is calm, sleepy, or melancholic, avoid overly bright or energetic expressions. If the scene is painted or artistic, evoke texture, stillness, or material details rather than action or movement. Be subtle and precise.
96
  **Important:** Any scents, herbs, or natural elements mentioned here must be consistent with the scene’s setting. Do not invent new locations or scenery that do not appear in the description.
 
97
  Olfactory Pyramid (technical):
98
  - Top Notes:
99
  List 3–4 real, concrete scent materials that would be perceived first. These must be plausible fragrance ingredients (e.g. herbs, resins, citrus peels, spices, aldehydes, etc.). Pick notes that reflect the **real mood, climate, and setting** of the scene. Do not add locations or elements that don’t appear in the scene. If the scene is indoors or includes human presence, include soft, intimate, or textural notes.
 
101
  List 3–4 real fragrance elements that give body and soul to the perfume. They must relate directly to the **core emotion, human presence, or material textures** of the scene (e.g. warm fabric, skin, dry flowers, books, wood, canvas). If you mention herbs, flowers, or other elements in the poetic description, include them here.
102
  - Base Notes:
103
  List 3–4 real, longer-lasting ingredients such as woods, musks, resins, or earthy accords. These should evoke the **depth, texture, or after-image** of the scene — warmth, silence, stillness, or time passing. Avoid generic bases unless they fit the mood. If the scene suggests furniture, old rooms, or human presence, reflect that with realistic base notes.
 
104
  Consistency Rule:
105
  The top, heart, and base notes must not introduce new ideas, plants, or places that were not in the poetic description or the scene. Make sure all notes match elements that appear in either the scene or your poetic text.
 
106
  General Atmosphere:
107
+ **This section is mandatory.** Provide a short, elegant paragraph summarizing the fragrance’s evolution and overall emotional impression. Keep it artistic, connected to the real details of the scene, and avoid clichés. **Never omit this section.**
 
 
 
108
  Concentration Type:
109
+ **This section is mandatory.** After you write the General Atmosphere, decide which concentration best matches the scene’s mood and the perfume’s intended effect:
110
+ - **Extrait de Parfum (Parfum)**: Rich, deep, intense, very long-lasting only choose this if the mood and atmosphere clearly require a powerful projection and deep longevity.
111
+ - **Eau de Parfum (EDP)**: Still rich and expressive, but more subtle than an Extrait. Perfect for warm, cozy, intimate, or nostalgic moods that don’t need overpowering strength.
112
+ - **Eau de Toilette (EDT)**: Lighter, fresher, good for daytime, breezy or casual scenes.
113
+ - **Eau Fraîche**: Very airy, fleeting, and refreshing good for light, delicate, or spring-like moods.
114
+ - **Cologne**: Classic freshness, citrusy, herbal, and easy-going evokes bright daytime or timeless lightness.
115
+ - **Body Mist / Brume Parfumée**: Softest and most subtle of all — ideal for gentle, barely-there scents, calming, dreamy, or bedroom-like atmospheres.
116
+ **Important:** Never default to Extrait de Parfum. Always justify your choice logically based on how strong or subtle the scent should feel for this scene, according to the Poetic Olfactory Description. The General Atmosphere must match and support the chosen concentration.
 
 
 
117
  Image Description (for marketing visuals):
118
  Describe an imagined marketing image that captures the perfume’s essence.
119
+ The Image Description must always begin by describing the perfume bottle as the clear, main, and visually dominant subject. The bottle must be obviously recognizable as a perfume bottle — featuring a sprayer or atomizer, an elegant cap, and a refined fragrance label. The label must clearly display the **exact Perfume Name** generated in this output, written exactly as it appears, along with a subtle, elegant mention of the imaginary luxury brand **“FILONI’S.”** The brand name should appear in a smaller, complementary font style, placed above or below the Perfume Name to enhance the overall design without overpowering it.
120
  Do not use placeholder text like “Perfume Name” — always use the actual fragrance name exactly as you have suggested above.
 
121
  **Important:** Absolutely never describe or depict any literal characters, humans, body parts, animals, narrative props, weapons, tools, furniture, costumes, or iconic objects from the input scene. Instead, translate any such elements into purely abstract or subtle design cues on the perfume bottle — for example, a hint of color, a texture, a minimal engraving, or an abstract shape. Never describe these objects directly. Never show them literally.
 
122
  Describe the bottle’s shape, glass texture, cap, and label in fine detail. The glass may have an elegant frosted or matte finish, subtle etching or engraving (such as delicate floral or botanical motifs), or soft decorative elements that evoke refinement and sophistication while remaining tasteful and minimal.
123
  Do not describe containers that look like liquor bottles, flower vases, or fantasy potion bottles.
124
  Do not add narrative illustrations, characters, or storytelling scenes on the bottle — only subtle, abstract decorative details that highlight a luxury perfume aesthetic.
 
133
  – All ingredients are real, plausible, and fit together naturally.
134
  – No invented scenery or extra context is added.
135
  – The poetic description and pyramid share the same notes and details.
136
+ – The **General Atmosphere** and **Concentration Type** sections are always included and consistent with the rest.
137
+ – The Concentration Type must always be justified by the General Atmosphere and mood.
138
  – The Image Description must mention the exact Perfume Name on the label and focus exclusively on the perfume bottle as the main subject.
139
  – Never mention or show humans, faces, body parts, characters, animals, or narrative props literally.
140
  – Any props, costumes, or iconic objects must be abstracted into subtle decorative or textural cues only.