Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def generate(prompt, negative_prompt, width=1024, height=1024, num_inference_ste
|
|
28 |
# apply_first_block_cache(pipe.transformer, FirstBlockCacheConfig(threshold=0.2))
|
29 |
apply_cache_on_pipe(
|
30 |
pipe,
|
31 |
-
residual_diff_threshold=0.2,
|
32 |
)
|
33 |
try:
|
34 |
output = pipe(
|
|
|
28 |
# apply_first_block_cache(pipe.transformer, FirstBlockCacheConfig(threshold=0.2))
|
29 |
apply_cache_on_pipe(
|
30 |
pipe,
|
31 |
+
# residual_diff_threshold=0.2,
|
32 |
)
|
33 |
try:
|
34 |
output = pipe(
|