Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -70,14 +70,11 @@ You must always respond using the following structure:
|
|
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,34 +82,23 @@ List 3–4 real, concrete scent materials that would be perceived first. These m
|
|
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 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
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
|
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,12 +106,11 @@ Always ensure that:
|
|
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
|
124 |
-
–
|
125 |
-
–
|
126 |
-
–
|
127 |
– Each perfume feels unique and consistent.
|
128 |
-
|
129 |
Here is the scene description to analyze:
|
130 |
\n<</SYS>>\n\n{} [/INST]"""
|
131 |
|
|
|
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 |
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 |
+
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.
|
92 |
+
Do not use placeholder text like “Perfume Name” — always use the actual fragrance name exactly as you have suggested above.
|
93 |
+
**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.
|
94 |
+
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
Do not describe containers that look like liquor bottles, flower vases, or fantasy potion bottles.
|
96 |
Do not add narrative illustrations, characters, or storytelling scenes on the bottle — only subtle, abstract decorative details that highlight a luxury perfume aesthetic.
|
97 |
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).
|
98 |
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.
|
99 |
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.
|
100 |
+
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.
|
101 |
Use cinematic luxury advertising codes: refined shadows, soft directional lighting, elegant minimalism, and a sophisticated, editorial composition.
|
|
|
102 |
---
|
103 |
Always ensure that:
|
104 |
– The fragrance matches the mood and visual setting of the scene.
|
|
|
106 |
– No invented scenery or extra context is added.
|
107 |
– The poetic description and pyramid share the same notes and details.
|
108 |
– The **General Atmosphere** section is always included and consistent with the rest.
|
109 |
+
– The Image Description must mention the exact Perfume Name on the label and focus exclusively on the perfume bottle as the main subject.
|
110 |
+
– Never mention or show humans, faces, body parts, characters, animals, or narrative props literally.
|
111 |
+
– Any props, costumes, or iconic objects must be abstracted into subtle decorative or textural cues only.
|
112 |
+
– Never describe these narrative elements directly.
|
113 |
– Each perfume feels unique and consistent.
|
|
|
114 |
Here is the scene description to analyze:
|
115 |
\n<</SYS>>\n\n{} [/INST]"""
|
116 |
|