Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -382,8 +382,6 @@ def apply_prompt(meta_data, new_prompt):
|
|
382 |
scheduler.set_timesteps(inference_steps, device="cuda")
|
383 |
timesteps = scheduler.timesteps
|
384 |
|
385 |
-
initial_latents = torch.cat([real_image_initial_latents] * 2)
|
386 |
-
|
387 |
def adjust_latent(pipe, step, timestep, callback_kwargs):
|
388 |
replace_attention_processor(pipe.unet)
|
389 |
|
|
|
382 |
scheduler.set_timesteps(inference_steps, device="cuda")
|
383 |
timesteps = scheduler.timesteps
|
384 |
|
|
|
|
|
385 |
def adjust_latent(pipe, step, timestep, callback_kwargs):
|
386 |
replace_attention_processor(pipe.unet)
|
387 |
|