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

“Update”

Browse files
Files changed (1) hide show
  1. src/img_gen.py +1 -1
src/img_gen.py CHANGED
@@ -24,7 +24,7 @@ def generate_image(prompt_alias, team_color, model_alias, custom_prompt, height=
24
  return None, "ERROR: Invalid prompt or model selected."
25
 
26
  # Determine the enemy color
27
- enemy_color = "blue" if team.lower() == "red" else "red"
28
 
29
  # if team.lower() == "red":
30
  # winning_team_text = " The winning army is dressed in red armor and banners."
 
24
  return None, "ERROR: Invalid prompt or model selected."
25
 
26
  # Determine the enemy color
27
+ enemy_color = "blue" if team_color.lower() == "red" else "red"
28
 
29
  # if team.lower() == "red":
30
  # winning_team_text = " The winning army is dressed in red armor and banners."