Spaces:
Running
Running
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -67,9 +67,9 @@ fast=True
|
|
67 |
fps=15
|
68 |
time=3
|
69 |
width=768
|
70 |
-
height=
|
71 |
step=40
|
72 |
-
accu=
|
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")
|
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")
|
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)
|