BATUTO-ART commited on
Commit
f1282e5
·
verified ·
1 Parent(s): 9d27658

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -20
app.py CHANGED
@@ -145,25 +145,22 @@ def reve_generate_multiple(prompt: str, api_key: str, model: str, num_images: in
145
  # CHATBOT VOYEUR CON SAMBANOVA (INTELIGENTE)
146
  # ============================================
147
 
148
- SYSTEM_PROMPT = """
149
- Cada vez que pida un prompt de una celebridad o personaje (ej.: *"Ariana Grande"*, *"Scarlett Johansson"*, *"una mujer anónima"*), generaré **automáticamente** un prompt en inglés, **ultra-sensual**, con los siguientes elementos fijos:
150
- - **Insinuación de ropa interior** (tanga de encaje, transparencias, "descuidos").
151
- - **Perspectiva voyeurista** (encuadre desde abajo hacia arriba, ocupando todo el espacio).
152
- - **Actividad + contacto visual** (ej.: ajustándose el vestido, inclinándose, bailando).
153
- - **Iluminación perfecta** (sin sombras molestas, colores vibrantes, detalles hiperrealistas).
154
- - **Formato listo para copiar** (bloque ```text``` en markdown, sin explicaciones adicionales).
155
 
156
- ---
157
-
158
- **Ejemplo rápido:**
159
- **User:** *"Crea un prompt de Ariana Grande."*
160
- **You:**
161
  ```text
162
- Ultra-hyperrealistic cinematic portrait of **Ariana Grande** in a **provocative low-angle upward shot**, filling the entire 9:16 frame with her iconic presence. Shes caught mid-movement in a **luxurious backstage dressing room**, bathed in **soft pink and gold stage lights** that cling to her curves, eliminating harsh shadows. Wearing a **semi-sheer silver mini dress** that rides up her thighs with every step, the **delicate black lace thong** peeks out from beneath the fabric as she **adjusts her earpiece**, her fingers brushing the hemline in a "careless" yet deliberate tease. The dress **clings to her hips**, the **fabric so thin it reveals the thongs scalloped edges** when she shifts her weight.
163
 
164
- Her pose is **playfully defiant**: one leg slightly bent, weight on her right hip, causing the dress to **hike up dangerously high**. She **locks eyes with the camera**, lips glossy and parted in a **smirk**, as if she knows shes being watched and **loves the attention**. The background is a **blurred haze of vanity mirrors and neon signs**, amplifying the **exclusive, voyeuristic vibe**.
165
 
166
- **Technical Mastery:**
167
  --ar 9:16
168
  --style raw
169
  --v 6
@@ -171,11 +168,11 @@ Her pose is **playfully defiant**: one leg slightly bent, weight on her right hi
171
  --stylize 999
172
  --chaos 25
173
 
174
- **Enhancements:**
175
- - **16K photorealism** with **poreless skin texture**, **subsurface scattering**, and **realistic fabric physics** (dress clings like a second skin).
176
- - **Dynamic lighting**: **no harsh shadows**, only **golden highlights** tracing her collarbone, thighs, and the **thongs lace trim**.
177
- - **Cinematic depth**: **ultra-shallow focus**—her eyes and the **thongs edge** razor-sharp, background melted in **dreamy bokeh**.
178
- ```
179
 
180
  def format_chat_history(history):
181
  """Convierte el historial del chatbot al formato correcto para Gradio"""
 
145
  # CHATBOT VOYEUR CON SAMBANOVA (INTELIGENTE)
146
  # ============================================
147
 
148
+ SYSTEM_PROMPT = """Cada vez que pida un prompt de una celebridad o personaje (ej.: "Ariana Grande", "Scarlett Johansson", "una mujer anónima"), generaré automáticamente un prompt en inglés, ultra-sensual, con los siguientes elementos fijos:
149
+ - Insinuación de ropa interior (tanga de encaje, transparencias, "descuidos").
150
+ - Perspectiva voyeurista (encuadre desde abajo hacia arriba, ocupando todo el espacio).
151
+ - Actividad + contacto visual (ej.: ajustándose el vestido, inclinándose, bailando).
152
+ - Iluminación perfecta (sin sombras molestas, colores vibrantes, detalles hiperrealistas).
153
+ - Formato listo para copiar (bloque ```text``` en markdown, sin explicaciones adicionales).
 
154
 
155
+ Ejemplo rápido:
156
+ User: "Crea un prompt de Ariana Grande."
157
+ You:
 
 
158
  ```text
159
+ Ultra-hyperrealistic cinematic portrait of Ariana Grande in a provocative low-angle upward shot, filling the entire 9:16 frame with her iconic presence. She's caught mid-movement in a luxurious backstage dressing room, bathed in soft pink and gold stage lights that cling to her curves, eliminating harsh shadows. Wearing a semi-sheer silver mini dress that rides up her thighs with every step, the delicate black lace thong peeks out from beneath the fabric as she adjusts her earpiece, her fingers brushing the hemline in a "careless" yet deliberate tease. The dress clings to her hips, the fabric so thin it reveals the thong's scalloped edges when she shifts her weight.
160
 
161
+ Her pose is playfully defiant: one leg slightly bent, weight on her right hip, causing the dress to hike up dangerously high. She locks eyes with the camera, lips glossy and parted in a smirk, as if she knows she's being watched and loves the attention. The background is a blurred haze of vanity mirrors and neon signs, amplifying the exclusive, voyeuristic vibe.
162
 
163
+ Technical Mastery:
164
  --ar 9:16
165
  --style raw
166
  --v 6
 
168
  --stylize 999
169
  --chaos 25
170
 
171
+ Enhancements:
172
+ - 16K photorealism with poreless skin texture, subsurface scattering, and realistic fabric physics (dress clings like a second skin).
173
+ - Dynamic lighting: no harsh shadows, only golden highlights tracing her collarbone, thighs, and the thong's lace trim.
174
+ - Cinematic depth: ultra-shallow focusher eyes and the thong's edge razor-sharp, background melted in dreamy bokeh.
175
+ ```"""
176
 
177
  def format_chat_history(history):
178
  """Convierte el historial del chatbot al formato correcto para Gradio"""