Yaron Koresh commited on
Commit
e09b4c1
·
verified ·
1 Parent(s): 47de9f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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=array2image(img).convert("RGB").resize((width,height)),
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=array2image(img).convert("RGB").resize((width,height)),
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)