Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def main():
|
|
| 75 |
generator = torch.manual_seed(seed)
|
| 76 |
edited_image = pipe(
|
| 77 |
instruction, image=input_image,
|
| 78 |
-
guidance_scale=
|
| 79 |
num_inference_steps=50, generator=generator,
|
| 80 |
).images[0]
|
| 81 |
instruction_ = instruction.lower()
|
|
|
|
| 75 |
generator = torch.manual_seed(seed)
|
| 76 |
edited_image = pipe(
|
| 77 |
instruction, image=input_image,
|
| 78 |
+
guidance_scale=text_cfg_scale, image_guidance_scale=image_cfg_scale,
|
| 79 |
num_inference_steps=50, generator=generator,
|
| 80 |
).images[0]
|
| 81 |
instruction_ = instruction.lower()
|