Spaces:
Running
Running
Andre
commited on
Commit
·
6ccff70
1
Parent(s):
299a052
“Update”
Browse files- src/img_gen_colab.py +1 -1
src/img_gen_colab.py
CHANGED
@@ -38,7 +38,7 @@ def generate_image(prompt, team_color, model_name, height, width, num_inference_
|
|
38 |
print(f"Enemy Color: {enemy_color}")
|
39 |
print(f"Team Color: {team_color}")
|
40 |
|
41 |
-
prompt = prompt.format(team_color=team_color, enemy_color=enemy_color
|
42 |
|
43 |
# Print the formatted prompt for debugging
|
44 |
print("\nFormatted Prompt:")
|
|
|
38 |
print(f"Enemy Color: {enemy_color}")
|
39 |
print(f"Team Color: {team_color}")
|
40 |
|
41 |
+
prompt = prompt.format(team_color=team_color.lower(), enemy_color=enemy_color)
|
42 |
|
43 |
# Print the formatted prompt for debugging
|
44 |
print("\nFormatted Prompt:")
|