Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -744,18 +744,12 @@ def generate_image_flux(prompt, width=400, height=400, num_inference_steps=4):
|
|
| 744 |
|
| 745 |
|
| 746 |
# Existing image generation function, updated to use the new Flux pipeline
|
| 747 |
-
|
| 748 |
-
|
| 749 |
-
|
| 750 |
-
|
| 751 |
-
|
| 752 |
-
|
| 753 |
-
# Use the Flux pipeline to generate images based on hardcoded prompts
|
| 754 |
-
image_1, _ = infer(hardcoded_prompt_1)
|
| 755 |
-
image_2, _ = infer(hardcoded_prompt_2)
|
| 756 |
-
image_3, _ = infer(hardcoded_prompt_3)
|
| 757 |
|
| 758 |
-
return image_1, image_2, image_3
|
| 759 |
|
| 760 |
|
| 761 |
|
|
|
|
| 744 |
|
| 745 |
|
| 746 |
# Existing image generation function, updated to use the new Flux pipeline
|
| 747 |
+
|
| 748 |
+
# Hardcoded prompts for generating images
|
| 749 |
+
hardcoded_prompt_1 = "A high quality cinematic image for Toyota Truck in Birmingham skyline shot in the style of Michael Mann"
|
| 750 |
+
hardcoded_prompt_2 = "A high quality cinematic image for Alabama Quarterback close up emotional shot in the style of Michael Mann"
|
| 751 |
+
hardcoded_prompt_3 = "A high quality cinematic image for Taylor Swift concert in Birmingham skyline style of Michael Mann"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 752 |
|
|
|
|
| 753 |
|
| 754 |
|
| 755 |
|