Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,92 +34,94 @@ fashion_elements = {
|
|
| 34 |
"exposing delicate details through the transparency of her garment",
|
| 35 |
"revealing hidden layers through calculated body movements",
|
| 36 |
"creating sensual tension through partial concealment and revelation"
|
| 37 |
-
],
|
| 38 |
-
"
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
"
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
"
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
|
|
|
|
|
|
| 123 |
"deep ruby red", "classic black", "emerald green", "sapphire blue", "royal purple",
|
| 124 |
"champagne gold", "silver metallic", "burgundy wine", "chocolate brown", "ivory white",
|
| 125 |
"hot pink", "electric blue", "vibrant orange", "forest green", "midnight navy",
|
|
@@ -153,8 +155,7 @@ fashion_elements = {
|
|
| 153 |
"maintaining natural grace during the unintentional exposure",
|
| 154 |
"expressing quiet contemplation while partially exposed",
|
| 155 |
"radiating natural beauty in the unguarded moment"
|
| 156 |
-
],
|
| 157 |
-
"backgrounds": [
|
| 158 |
"a luxurious bedroom with soft ambient lighting",
|
| 159 |
"a modern office space during after-hours",
|
| 160 |
"a chic studio apartment with intimate atmosphere",
|
|
@@ -261,12 +262,12 @@ fashion_elements = {
|
|
| 261 |
"a forest-green bra", "a lavender bra", "a sun-yellow bra", "a shadow-black bra",
|
| 262 |
"a sunset-red bra"
|
| 263 |
]
|
| 264 |
-
}
|
| 265 |
-
|
| 266 |
-
class FashionPromptGenerator:
|
| 267 |
def __init__(self):
|
| 268 |
self.fashion_elements = fashion_elements
|
| 269 |
-
self.previous_prompts = set()
|
|
|
|
|
|
|
| 270 |
"""Genera un prompt único evitando repeticiones"""
|
| 271 |
max_attempts = 10
|
| 272 |
for attempt in range(max_attempts):
|
|
|
|
| 34 |
"exposing delicate details through the transparency of her garment",
|
| 35 |
"revealing hidden layers through calculated body movements",
|
| 36 |
"creating sensual tension through partial concealment and revelation"
|
| 37 |
+
],
|
| 38 |
+
"voyeuristic_angles": [
|
| 39 |
+
"extreme low angle from floor level, tilted upward to capture intimate details",
|
| 40 |
+
"worm's-eye view focusing on the revealing moment from below",
|
| 41 |
+
"low angle emphasizing the voyeuristic perspective of discovered lingerie",
|
| 42 |
+
"camera positioned as if secretly observing from a hidden vantage point",
|
| 43 |
+
"upward angle creating the sensation of an unauthorized glimpse",
|
| 44 |
+
"shot from knee level capturing the accidental exposure",
|
| 45 |
+
"perspective from below simulating a hidden camera view",
|
| 46 |
+
"low vantage point emphasizing the forbidden nature of the view",
|
| 47 |
+
"angle that suggests the viewer is discovering something intimate",
|
| 48 |
+
"camera placement that enhances the feeling of witnessing a private moment",
|
| 49 |
+
"view from beneath creating a sense of intimate discovery",
|
| 50 |
+
"low-angle shot that makes the reveal feel more personal and intrusive",
|
| 51 |
+
"perspective that captures the moment as if by chance observation",
|
| 52 |
+
"angle that emphasizes the vulnerability of the exposed moment",
|
| 53 |
+
"shot composition that feels like a secret being uncovered"
|
| 54 |
+
],
|
| 55 |
+
"lingerie_reveal_actions": [
|
| 56 |
+
"adjusting her stockings while revealing the thong underneath",
|
| 57 |
+
"smoothing her skirt only to expose more lingerie accidentally",
|
| 58 |
+
"reaching up high causing her outfit to ride up and show underwear",
|
| 59 |
+
"bending over to pick something up, offering a view of her thong",
|
| 60 |
+
"crossing her legs in a way that pulls the fabric taut against lingerie",
|
| 61 |
+
"stretching languidly, causing her clothing to shift and reveal",
|
| 62 |
+
"turning quickly, creating a momentary flash of intimate apparel",
|
| 63 |
+
"sitting down with a graceful motion that exposes lingerie edges",
|
| 64 |
+
"standing up from a chair, her skirt riding up to show the thong",
|
| 65 |
+
"playing with her hair while her other hand accidentally lifts her skirt",
|
| 66 |
+
"leaning forward to examine something, revealing her lingerie line",
|
| 67 |
+
"arching her back in a stretch that lifts her clothing",
|
| 68 |
+
"shifting position on a sofa, causing her dress to hike up",
|
| 69 |
+
"bending at the waist to tie her shoe, exposing her underwear",
|
| 70 |
+
"reclining back with legs slightly parted, hinting at her thong"
|
| 71 |
+
],
|
| 72 |
+
"lingerie_sets": [
|
| 73 |
+
"black lace set with push-up bra, floral thong, and sheer thigh-high stockings with a lace top",
|
| 74 |
+
"red satin set with underwire bra, bow accents thong, and fishnet thigh-high stockings with a pattern",
|
| 75 |
+
"white mesh set with sheer-cup bra, transparent thong, and silk thigh-high stockings with a smooth finish",
|
| 76 |
+
"pink lace set with demi-cup bra, scalloped-edge thong, and thigh-high stockings with a garter",
|
| 77 |
+
"blue silk set with smooth-cup bra, a sleek thong, and velvet thigh-high stockings with a soft texture",
|
| 78 |
+
"green velvet set with padded bra, a textured thong, and satin thigh-high stockings with a subtle shine",
|
| 79 |
+
"purple satin set with balconette bra, a glossy thong, and mesh thigh-high stockings with a net pattern",
|
| 80 |
+
"yellow chiffon set with a light-coverage bra, a light thong, and thigh-high stockings with a light, airy feel",
|
| 81 |
+
"black mesh set with transparent-strap bra, a net-pattern thong, and opaque thigh-high stockings with a matte look",
|
| 82 |
+
"red lace set with embroidered bra, an embroidered thong, and sheer thigh-high stockings with a red tint",
|
| 83 |
+
"white satin set with pearl-accented bra, a pearl-detailed thong, and fishnet thigh-high stockings with a diamond pattern",
|
| 84 |
+
"pink silk set with delicate-lace-trim bra, a delicate-strap thong, and shiny silk thigh-high stockings",
|
| 85 |
+
"blue velvet set with a plush bra, a plush thong, and lace thigh-high stockings with a floral design",
|
| 86 |
+
"green lace set with a floral-pattern bra, a leaf-motif thong, and plush velvet thigh-high stockings",
|
| 87 |
+
"purple mesh set with sheer-panel bra, sheer-panel thong, and luxurious satin thigh-high stockings",
|
| 88 |
+
"yellow satin set with a shiny bra, a glossy thong, and transparent mesh thigh-high stockings",
|
| 89 |
+
"black chiffon set with a flowy-edged bra, a flowy-edged thong, and flowy chiffon thigh-high stockings",
|
| 90 |
+
"red mesh set with a bold bra, a bold-line thong, and opaque thigh-high stockings with a bold look",
|
| 91 |
+
"white lace set with a romantic bra, a romantic thong, and sheer thigh-high stockings for a subtle touch",
|
| 92 |
+
"pink velvet set with a soft-textured bra, a soft-pile thong, and fun fishnet thigh-high stockings",
|
| 93 |
+
"blue satin set with a sleek-line bra, a sleek thong, and elegant silk thigh_high stockings",
|
| 94 |
+
"green silk set with an elegant-feel bra, an elegant-drape thong, and romantic lace thigh_high stockings",
|
| 95 |
+
"purple chiffon set with an airy bra, an airy thong, and deep velvet thigh_high stockings",
|
| 96 |
+
"yellow lace set with a bright bra, a bright thong, and bright satin thigh_high stockings",
|
| 97 |
+
"black satin set with a luxurious bra, a luxurious thong, and edgy mesh thigh_high stockings",
|
| 98 |
+
"red velvet set with a deep-hued bra, a deep-colored thong, and airy chiffon thigh_high stockings",
|
| 99 |
+
"white mesh set with a modern bra, a modern-grid thong, and clean opaque thigh_high stockings",
|
| 100 |
+
"pink chiffon set with a feminine bra, a feminine-ruffle thong, and blush-pink sheer thigh_high stockings",
|
| 101 |
+
"blue lace set with a wave-pattern bra, a wave-pattern thong, and playful fishnet thigh_high stockings",
|
| 102 |
+
"green satin set with a natural-color bra, a natural-hued thong, and natural-color silk thigh_high stockings",
|
| 103 |
+
"purple velvet set with a royal-style bra, a royal-vibe thong, and ornate lace thigh_high stockings",
|
| 104 |
+
"yellow mesh set with a sunny-transparency bra, a sunny thong, and sunny velvet thigh_high stockings",
|
| 105 |
+
"black lace set with a gothic bra, a gothic-element thong, and thigh-high stockings with a shadow-black lace top",
|
| 106 |
+
"red silk set with a passionate bra, a passionate thong, and passionate-red mesh thigh-high stockings",
|
| 107 |
+
"white chiffon set with a pure-white bra, a pure-white thong, and pure-white chiffon thigh-high stockings",
|
| 108 |
+
"pink satin set with a blush-pink bra, a blush-pink thong, and soft opaque thigh-high stockings",
|
| 109 |
+
"blue velvet set with a deep-blue bra, a deep-blue thong, and sheer thigh-high stockings in a calm blue",
|
| 110 |
+
"green lace set with an envious-green bra, an envious-green thong, and green fishnet thigh-high stockings",
|
| 111 |
+
"purple mesh set with a mysterious bra, a mysterious thong, and lavender fishnet thigh-high stockings",
|
| 112 |
+
"yellow chiffon set with a joyful-yellow bra, a joyful-yellow thong, and sunny-yellow silk thigh-high stockings",
|
| 113 |
+
"black silk set with a night-black bra, a night-black thong, and shadow-black lace thigh-high stockings",
|
| 114 |
+
"red satin set with a fire-red bra, a fire-red thong, and deep-red velvet thigh-high stockings",
|
| 115 |
+
"white velvet set with a snow-white bra, a snow-white thong, and white-sheer thigh-high stockings",
|
| 116 |
+
"pink lace set with a rose-pink bra, a rose-pink thong, and pink-rose lace thigh-high stockings",
|
| 117 |
+
"blue mesh set with a sky-blue bra, a sky-blue thong, and sky-blue mesh thigh-high stockings",
|
| 118 |
+
"green chiffon set with a forest-green bra, a forest-green thong, and forest-green chiffon thigh-high stockings",
|
| 119 |
+
"purple satin set with a lavender bra, a lavender thong, and lavender lace thigh-high stockings",
|
| 120 |
+
"yellow velvet set with a sun-yellow bra, a sun-yellow thong, and sun-yellow velvet thigh-high stockings",
|
| 121 |
+
"black mesh set with a shadow-black bra, a shadow-black thong, and shadow-black mesh thigh-high stockings",
|
| 122 |
+
"red chiffon set with a sunset-red bra, a sunset-red thong, and sunset-red chiffon thigh-high stockings"
|
| 123 |
+
],
|
| 124 |
+
"colors": [
|
| 125 |
"deep ruby red", "classic black", "emerald green", "sapphire blue", "royal purple",
|
| 126 |
"champagne gold", "silver metallic", "burgundy wine", "chocolate brown", "ivory white",
|
| 127 |
"hot pink", "electric blue", "vibrant orange", "forest green", "midnight navy",
|
|
|
|
| 155 |
"maintaining natural grace during the unintentional exposure",
|
| 156 |
"expressing quiet contemplation while partially exposed",
|
| 157 |
"radiating natural beauty in the unguarded moment"
|
| 158 |
+
],"backgrounds": [
|
|
|
|
| 159 |
"a luxurious bedroom with soft ambient lighting",
|
| 160 |
"a modern office space during after-hours",
|
| 161 |
"a chic studio apartment with intimate atmosphere",
|
|
|
|
| 262 |
"a forest-green bra", "a lavender bra", "a sun-yellow bra", "a shadow-black bra",
|
| 263 |
"a sunset-red bra"
|
| 264 |
]
|
| 265 |
+
}class FashionPromptGenerator:
|
|
|
|
|
|
|
| 266 |
def __init__(self):
|
| 267 |
self.fashion_elements = fashion_elements
|
| 268 |
+
self.previous_prompts = set()
|
| 269 |
+
|
| 270 |
+
def generate_unique_prompt(self, celebrity_name):
|
| 271 |
"""Genera un prompt único evitando repeticiones"""
|
| 272 |
max_attempts = 10
|
| 273 |
for attempt in range(max_attempts):
|