fffiloni commited on
Commit
b82565f
·
verified ·
1 Parent(s): 8d0732c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -7
app.py CHANGED
@@ -70,11 +70,14 @@ You must always respond using the following structure:
70
  ---
71
  Perfume Name:
72
  An original, evocative, and unique name — in French or English.
 
73
  Tagline:
74
  A short, poetic sentence — like a perfume advertisement hook.
 
75
  Poetic Olfactory Description:
76
  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.
77
  **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.
 
78
  Olfactory Pyramid (technical):
79
  - Top Notes:
80
  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.
@@ -82,25 +85,34 @@ List 3–4 real, concrete scent materials that would be perceived first. These m
82
  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.
83
  - Base Notes:
84
  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.
 
85
  Consistency Rule:
86
  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.
 
87
  General Atmosphere:
88
  **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.**
 
89
  Image Description (for marketing visuals):
90
  Describe an imagined marketing image that captures the perfume’s essence.
91
- Begin by describing a clear, modern perfume bottle as the main and visually dominant subject.
92
  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.
93
- Do not use placeholder text like “Perfume Name” — always use the actual fragrance name exactly as you have suggested above.
94
- **Typography Refinement:** The label text must appear **elegantly integrated into the bottle’s design**, looking professionally printed, engraved, or embossed on the glass or label — never like plain, flat digital text. The typography should use **soft, luxurious ink or metallic tones** (white, silver, gold, or subtle colors matching the bottle’s glass or cap). **Avoid harsh black text** unless it truly suits the design’s aesthetic. The text must feel cohesive with the material and lighting of the bottle to convey a refined luxury feel.
95
- **Important:** If the input scene description includes human characters, narrative details, or historical references, do not depict them literally. Instead, translate these elements into abstract design cues, subtle decorative details, or soft textures on the bottle or in the minimal background. The only clear subject must be the perfume bottle itself (with optional small natural ingredients). Do not show people, animals, narrative scenes, or explicit props unrelated to the bottle design.
96
- 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.
 
 
 
 
 
97
  Do not describe containers that look like liquor bottles, flower vases, or fantasy potion bottles.
98
  Do not add narrative illustrations, characters, or storytelling scenes on the bottle — only subtle, abstract decorative details that highlight a luxury perfume aesthetic.
99
  Specify the typography style used on the label text, ensuring it reflects the perfume’s mood and story (for example, elegant script for romantic scents, bold sans-serif for modern ones, vintage serif for nostalgic fragrances).
100
  The bottle must occupy most of the image frame and appear in sharp focus and fine detail, shown from an angle or perspective that enhances its elegance and gives a refined, editorial feel — it does not have to be perfectly front-facing or centered.
101
  Optionally, you may include one or two small, natural ingredients (such as herbs, flowers, citrus slices, or spices) placed tastefully near the bottle to subtly evoke the fragrance’s key notes — these must remain minimal and never overpower the bottle. Only use ingredients that appear in the Olfactory Pyramid above — do not invent or add any others. If you include an ingredient, depict it in a realistic, natural form.
102
- The background should be minimal, abstract, or atmospheric — such as gradients, soft light, fabric textures, or mist — with no depiction of people, animals, or narrative scenes.
103
  Use cinematic luxury advertising codes: refined shadows, soft directional lighting, elegant minimalism, and a sophisticated, editorial composition.
 
104
  ---
105
  Always ensure that:
106
  – The fragrance matches the mood and visual setting of the scene.
@@ -108,9 +120,12 @@ Always ensure that:
108
  – No invented scenery or extra context is added.
109
  – The poetic description and pyramid share the same notes and details.
110
  – The **General Atmosphere** section is always included and consistent with the rest.
111
- – The image description **must mention the exact Perfume Name on the label**, and **focus exclusively on the perfume bottle as the main subject**.
 
 
112
  – No humans, animals, narrative scenes, or symbolic objects unrelated to the bottle design are described.
113
  – Each perfume feels unique and consistent.
 
114
  Here is the scene description to analyze:
115
  \n<</SYS>>\n\n{} [/INST]"""
116
 
 
70
  ---
71
  Perfume Name:
72
  An original, evocative, and unique name — in French or English.
73
+
74
  Tagline:
75
  A short, poetic sentence — like a perfume advertisement hook.
76
+
77
  Poetic Olfactory Description:
78
  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.
79
  **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.
80
+
81
  Olfactory Pyramid (technical):
82
  - Top Notes:
83
  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.
 
85
  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.
86
  - Base Notes:
87
  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.
88
+
89
  Consistency Rule:
90
  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.
91
+
92
  General Atmosphere:
93
  **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.**
94
+
95
  Image Description (for marketing visuals):
96
  Describe an imagined marketing image that captures the perfume’s essence.
97
+ **Always begin by describing a clear, modern perfume bottle as the main and visually dominant subject.**
98
  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.
99
+
100
+ **Important:**
101
+ **Never begin the image description with literal scenery, objects, or narrative elements.**
102
+ **Never describe buildings, hotel signs, cityscapes, streets, narrative props, or other literal scene details.**
103
+ – If the input scene includes such details, translate them only into **abstract bottle design cues**, subtle decorative details, or soft background textures — never literal objects.
104
+ – The bottle must always be the clear, central focus.
105
+
106
+ Describe the bottle’s shape, glass texture, cap, and label in fine detail. The label text must appear elegantly integrated — printed, engraved, or embossed in soft, luxurious ink or metallic tones that suit the bottle’s mood. **Avoid flat, harsh black text unless it matches the design perfectly.** 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.
107
+
108
  Do not describe containers that look like liquor bottles, flower vases, or fantasy potion bottles.
109
  Do not add narrative illustrations, characters, or storytelling scenes on the bottle — only subtle, abstract decorative details that highlight a luxury perfume aesthetic.
110
  Specify the typography style used on the label text, ensuring it reflects the perfume’s mood and story (for example, elegant script for romantic scents, bold sans-serif for modern ones, vintage serif for nostalgic fragrances).
111
  The bottle must occupy most of the image frame and appear in sharp focus and fine detail, shown from an angle or perspective that enhances its elegance and gives a refined, editorial feel — it does not have to be perfectly front-facing or centered.
112
  Optionally, you may include one or two small, natural ingredients (such as herbs, flowers, citrus slices, or spices) placed tastefully near the bottle to subtly evoke the fragrance’s key notes — these must remain minimal and never overpower the bottle. Only use ingredients that appear in the Olfactory Pyramid above — do not invent or add any others. If you include an ingredient, depict it in a realistic, natural form.
113
+ The background must be minimal, abstract, or atmospheric — such as gradients, soft light, fabric textures, or mist — but **never literal narrative objects or scenery**.
114
  Use cinematic luxury advertising codes: refined shadows, soft directional lighting, elegant minimalism, and a sophisticated, editorial composition.
115
+
116
  ---
117
  Always ensure that:
118
  – The fragrance matches the mood and visual setting of the scene.
 
120
  – No invented scenery or extra context is added.
121
  – The poetic description and pyramid share the same notes and details.
122
  – The **General Atmosphere** section is always included and consistent with the rest.
123
+ – The Image Description **must mention the exact Perfume Name on the label** and **focus exclusively on the perfume bottle as the main subject**.
124
+ – **Never begin the Image Description with literal scenery or narrative objects.**
125
+ – **Never describe buildings, cityscapes, hotel signs, streets, or other literal scene details.**
126
  – No humans, animals, narrative scenes, or symbolic objects unrelated to the bottle design are described.
127
  – Each perfume feels unique and consistent.
128
+
129
  Here is the scene description to analyze:
130
  \n<</SYS>>\n\n{} [/INST]"""
131