Yaron Koresh commited on
Commit
6294ba8
·
verified ·
1 Parent(s): fcc46b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -67,9 +67,9 @@ fast=True
67
  fps=15
68
  time=3
69
  width=768
70
- height=1024
71
  step=40
72
- accu=10
73
 
74
  # ui data
75
 
@@ -325,7 +325,7 @@ def calc(img,p1,p2,motion):
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,7 +336,7 @@ def calc(img,p1,p2,motion):
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)
 
67
  fps=15
68
  time=3
69
  width=768
70
+ height=768
71
  step=40
72
+ accu=7
73
 
74
  # ui data
75
 
 
325
  prompt=p1,
326
  height=height,
327
  width=width,
328
+ ip_adapter_image=img.convert("RGB"),
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"),
340
  num_inference_steps=step,
341
  guidance_scale=accu,
342
  num_frames=(fps*time)