PeterL1n commited on
Commit
5114719
1 Parent(s): f3a1f2e
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -30,8 +30,9 @@ pipe.scheduler = EulerDiscreteScheduler.from_config(pipe.scheduler.config, times
30
  # Function
31
  @spaces.GPU(enable_queue=True)
32
  def generate_image(prompt, base, step):
33
- global loaded
34
- print(prompt, step)
 
35
 
36
  if step_loaded != step:
37
  repo = "ByteDance/AnimateDiff-Lightning"
 
30
  # Function
31
  @spaces.GPU(enable_queue=True)
32
  def generate_image(prompt, base, step):
33
+ global step_loaded
34
+ global base_loaded
35
+ print(prompt, base, step)
36
 
37
  if step_loaded != step:
38
  repo = "ByteDance/AnimateDiff-Lightning"