Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -193,6 +193,8 @@ def infer_with_lora(input_image, prompt, selected_index, custom_lora, seed=42, r
|
|
193 |
image=input_image,
|
194 |
prompt=prompt,
|
195 |
guidance_scale=guidance_scale,
|
|
|
|
|
196 |
generator=torch.Generator().manual_seed(seed),
|
197 |
).images[0]
|
198 |
|
|
|
193 |
image=input_image,
|
194 |
prompt=prompt,
|
195 |
guidance_scale=guidance_scale,
|
196 |
+
width=input_image.size[0],
|
197 |
+
height=input_image.size[1],
|
198 |
generator=torch.Generator().manual_seed(seed),
|
199 |
).images[0]
|
200 |
|