Spaces:
Sleeping
Sleeping
Andre
commited on
Commit
·
8f017d3
1
Parent(s):
89589ad
“Update”
Browse files- src/img_gen.py +1 -1
src/img_gen.py
CHANGED
@@ -70,7 +70,7 @@ def generate_image(prompt_alias, team_color, model_alias, custom_prompt, height=
|
|
70 |
except Exception as e:
|
71 |
return None, f"ERROR: Failed to generate image. Details: {e}"
|
72 |
|
73 |
-
return prompt # For testing purposes, return the formatted prompt
|
74 |
|
75 |
# Save the image with a timestamped filename
|
76 |
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
|
|
70 |
except Exception as e:
|
71 |
return None, f"ERROR: Failed to generate image. Details: {e}"
|
72 |
|
73 |
+
#return prompt # For testing purposes, return the formatted prompt
|
74 |
|
75 |
# Save the image with a timestamped filename
|
76 |
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|