Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ def generate(prompt, input_image):
|
|
33 |
guidance_scale=30.,
|
34 |
num_inference_steps=8,
|
35 |
max_sequence_length=512,
|
36 |
-
height=
|
37 |
-
width=
|
38 |
generator=torch.manual_seed(0)
|
39 |
).images[0]
|
40 |
|
|
|
33 |
guidance_scale=30.,
|
34 |
num_inference_steps=8,
|
35 |
max_sequence_length=512,
|
36 |
+
height=input_image.height,
|
37 |
+
width=input_image.width,
|
38 |
generator=torch.manual_seed(0)
|
39 |
).images[0]
|
40 |
|