Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -112,10 +112,12 @@ def infer(input_images, prompt, seed=42, randomize_seed=False, guidance_scale=2.
|
|
112 |
# new_width = round(new_width / 64) * 64
|
113 |
|
114 |
#concatenated_image_resized = concatenated_image.resize((new_width, new_height), Image.LANCZOS)
|
|
|
|
|
115 |
|
116 |
image = pipe(
|
117 |
image=concatenated_image,
|
118 |
-
prompt=
|
119 |
guidance_scale=guidance_scale,
|
120 |
# width=new_width,
|
121 |
# height=new_height,
|
|
|
112 |
# new_width = round(new_width / 64) * 64
|
113 |
|
114 |
#concatenated_image_resized = concatenated_image.resize((new_width, new_height), Image.LANCZOS)
|
115 |
+
|
116 |
+
final_prompt = f"From the provided reference images, generate one unified image such that {prompt}. Ensure all elements are harmoniously integrated with consistent lighting, perspective, and style throughout - the final result should look like a single naturally captured scene, not assembled from multiple sources."
|
117 |
|
118 |
image = pipe(
|
119 |
image=concatenated_image,
|
120 |
+
prompt=final_prompt,
|
121 |
guidance_scale=guidance_scale,
|
122 |
# width=new_width,
|
123 |
# height=new_height,
|