Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5
|
|
22 |
seed = random.randint(0, MAX_SEED)
|
23 |
|
24 |
input_image = input_image.convert("RGB")
|
25 |
-
prompt_with_template = f"Change the lighting conditions in this image
|
26 |
|
27 |
image = pipe(
|
28 |
image=input_image,
|
|
|
22 |
seed = random.randint(0, MAX_SEED)
|
23 |
|
24 |
input_image = input_image.convert("RGB")
|
25 |
+
prompt_with_template = f"Change the lighting conditions in this image and add {prompt}. change the background details but maintain the forground. Lighting determines how bright or dark different parts of the image appear, where shadows fall, and how colors look. When you relight an image, you're simulating what the photo would look like if it were taken under different lighting conditions."
|
26 |
|
27 |
image = pipe(
|
28 |
image=input_image,
|