Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -325,7 +325,7 @@ def calc(img,p1,p2,motion):
|
|
325 |
prompt=p1,
|
326 |
height=height,
|
327 |
width=width,
|
328 |
-
ip_adapter_image=
|
329 |
num_inference_steps=step,
|
330 |
guidance_scale=accu,
|
331 |
num_frames=(fps*time)
|
@@ -336,7 +336,7 @@ def calc(img,p1,p2,motion):
|
|
336 |
negative_prompt=p2,
|
337 |
height=height,
|
338 |
width=width,
|
339 |
-
ip_adapter_image=
|
340 |
num_inference_steps=step,
|
341 |
guidance_scale=accu,
|
342 |
num_frames=(fps*time)
|
|
|
325 |
prompt=p1,
|
326 |
height=height,
|
327 |
width=width,
|
328 |
+
ip_adapter_image=img.convert("RGB").resize((width,height)),
|
329 |
num_inference_steps=step,
|
330 |
guidance_scale=accu,
|
331 |
num_frames=(fps*time)
|
|
|
336 |
negative_prompt=p2,
|
337 |
height=height,
|
338 |
width=width,
|
339 |
+
ip_adapter_image=img.convert("RGB").resize((width,height)),
|
340 |
num_inference_steps=step,
|
341 |
guidance_scale=accu,
|
342 |
num_frames=(fps*time)
|