Andre commited on
Commit
89589ad
·
1 Parent(s): f2f08ce

“Update”

Browse files
Files changed (1) hide show
  1. src/img_gen.py +1 -1
src/img_gen.py CHANGED
@@ -74,7 +74,7 @@ def generate_image(prompt_alias, team_color, model_alias, custom_prompt, height=
74
 
75
  # Save the image with a timestamped filename
76
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
77
- output_filename = f"{timestamp}_{model_alias.replace(' ', '_').lower()}_{prompt_alias.replace(' ', '_').lower()}_{team.lower()}.png"
78
  try:
79
  image.save(output_filename)
80
  except Exception as e:
 
74
 
75
  # Save the image with a timestamped filename
76
  timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
77
+ output_filename = f"{timestamp}_{model_alias.replace(' ', '_').lower()}_{prompt_alias.replace(' ', '_').lower()}_{team_color.lower()}.png"
78
  try:
79
  image.save(output_filename)
80
  except Exception as e: