Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ class ImageGenerator:
|
|
103 |
|
104 |
for param_type in ['layout', 'ambiance', 'palette']:
|
105 |
if params.get(param_type):
|
106 |
-
prompt += f", {COMPOSITION_PARAMS[param_type.capitalize()
|
107 |
|
108 |
for param, description in [
|
109 |
("detail_level", "highly detailed" if params.get("detail_level", 0) > 7 else "moderately detailed"),
|
|
|
103 |
|
104 |
for param_type in ['layout', 'ambiance', 'palette']:
|
105 |
if params.get(param_type):
|
106 |
+
prompt += f", {COMPOSITION_PARAMS[param_type.capitalize()][params[param_type]]}"
|
107 |
|
108 |
for param, description in [
|
109 |
("detail_level", "highly detailed" if params.get("detail_level", 0) > 7 else "moderately detailed"),
|