Update app.py
Browse files
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
|
| 89 |
-
"Serein": "peaceful atmosphere
|
| 90 |
-
"Rétro": "retro atmosphere
|
| 91 |
-
"Futuriste": "futuristic atmosphere
|
| 92 |
-
"Onirique": "dreamy atmosphere
|
| 93 |
-
"Industriel": "industrial atmosphere
|
| 94 |
-
"Naturel": "natural atmosphere
|
| 95 |
-
|
|
|
|
| 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,
|
| 253 |
-
creativity = gr.Slider(minimum=5,
|
| 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")
|