Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,9 +53,9 @@ base = "emilianJR/epiCRealism"
|
|
| 53 |
adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3", torch_dtype=dtype, device=device)
|
| 54 |
|
| 55 |
fast=True
|
| 56 |
-
fps=
|
| 57 |
-
time=
|
| 58 |
-
width=
|
| 59 |
height=768
|
| 60 |
step = 25
|
| 61 |
accu=4
|
|
@@ -146,7 +146,7 @@ def generate_random_string(length):
|
|
| 146 |
characters = string.ascii_letters + string.digits
|
| 147 |
return ''.join(random.choice(characters) for _ in range(length))
|
| 148 |
|
| 149 |
-
@spaces.GPU(duration=
|
| 150 |
def Piper(image,positive,negative,motion):
|
| 151 |
global last_motion
|
| 152 |
global ip_loaded
|
|
|
|
| 53 |
adapter = MotionAdapter.from_pretrained("guoyww/animatediff-motion-adapter-v1-5-3", torch_dtype=dtype, device=device)
|
| 54 |
|
| 55 |
fast=True
|
| 56 |
+
fps=10
|
| 57 |
+
time=1
|
| 58 |
+
width=383
|
| 59 |
height=768
|
| 60 |
step = 25
|
| 61 |
accu=4
|
|
|
|
| 146 |
characters = string.ascii_letters + string.digits
|
| 147 |
return ''.join(random.choice(characters) for _ in range(length))
|
| 148 |
|
| 149 |
+
@spaces.GPU(duration=65)
|
| 150 |
def Piper(image,positive,negative,motion):
|
| 151 |
global last_motion
|
| 152 |
global ip_loaded
|