Pijush2023 commited on
Commit
ccfee78
·
verified ·
1 Parent(s): ed253d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -11
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
- def update_images():
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
- # 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