Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files
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
|
34 |
-
|
|
|
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"
|