Equityone commited on
Commit
eebd35e
·
verified ·
1 Parent(s): cea08ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -10
app.py CHANGED
@@ -85,14 +85,15 @@ COMPOSITION_PARAMS = {
85
  "Dramatique": "dramatic lighting, high contrast",
86
  "Doux": "soft lighting, gentle atmosphere",
87
  "Vibrant": "vibrant colors, energetic mood",
88
- "Mystérieux": "mysterious atmosphere, moody lighting",
89
- "Serein": "peaceful atmosphere, calm mood",
90
- "Rétro": "retro atmosphere, nostalgic mood",
91
- "Futuriste": "futuristic atmosphere, high-tech mood",
92
- "Onirique": "dreamy atmosphere, surreal mood",
93
- "Industriel": "industrial atmosphere, raw and urban mood",
94
- "Naturel": "natural atmosphere, organic and earthy mood",
95
- **"Nocturne": "nocturnal atmosphere with dark and moody lighting."** # Added Nocturne ambiance here
 
96
  },
97
  # Palette remains unchanged
98
  'Palette': {
@@ -249,8 +250,8 @@ def create_interface():
249
 
250
  with gr.Group(elem_classes="controls-group"):
251
  with gr.Row():
252
- quality = gr.Slider(minimum=30,maximun=50,value=35,label="Qualité") # Fixed typo from maximun to maximum
253
- creativity = gr.Slider(minimum=5,maximun=15,value=7.5,label="Créativité") # Fixed typo from maximun to maximum
254
 
255
  with gr.Row():
256
  generate_btn = gr.Button("✨ Générer", variant="primary")
 
85
  "Dramatique": "dramatic lighting, high contrast",
86
  "Doux": "soft lighting, gentle atmosphere",
87
  "Vibrant": "vibrant colors, energetic mood",
88
+ "Mystérieux": "mysterious atmosphere with moody lighting",
89
+ "Serein": "peaceful atmosphere with calm mood",
90
+ "Rétro": "retro atmosphere with nostalgic mood",
91
+ "Futuriste": "futuristic atmosphere with high-tech mood",
92
+ "Onirique": "dreamy atmosphere with surreal mood",
93
+ "Industriel": "industrial atmosphere with raw and urban mood",
94
+ "Naturel": "natural atmosphere with organic and earthy mood",
95
+ # Correctly added Nocturne ambiance here without syntax error
96
+ 'Nocturne': 'nocturnal atmosphere with dark and moody lighting'
97
  },
98
  # Palette remains unchanged
99
  'Palette': {
 
250
 
251
  with gr.Group(elem_classes="controls-group"):
252
  with gr.Row():
253
+ quality = gr.Slider(minimum=30,maximum=50,value=35,label="Qualité") # Fixed typo from maximun to maximum
254
+ creativity = gr.Slider(minimum=5,maximum=15,value=7.5,label="Créativité") # Fixed typo from maximun to maximum
255
 
256
  with gr.Row():
257
  generate_btn = gr.Button("✨ Générer", variant="primary")