Equityone commited on
Commit
68b569a
·
verified ·
1 Parent(s): 51250b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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() + 's'][params[param_type]]}"
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"),