Yaron Koresh commited on
Commit
aaacefd
·
verified ·
1 Parent(s): 6d89f09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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=15
57
- time=2
58
- width=512
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=45)
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