Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ pipe_xl = DiffusionPipeline.from_pretrained("cerspense/zeroscope_v2_XL", torch_d
|
|
14 |
pipe_xl.vae.enable_slicing()
|
15 |
pipe_xl.scheduler = DPMSolverMultistepScheduler.from_config(pipe_xl.scheduler.config)
|
16 |
pipe_xl.enable_model_cpu_offload()
|
17 |
-
pipe_xl.to("
|
18 |
|
19 |
|
20 |
def infer(prompt):
|
|
|
14 |
pipe_xl.vae.enable_slicing()
|
15 |
pipe_xl.scheduler = DPMSolverMultistepScheduler.from_config(pipe_xl.scheduler.config)
|
16 |
pipe_xl.enable_model_cpu_offload()
|
17 |
+
pipe_xl.to("cuda")
|
18 |
|
19 |
|
20 |
def infer(prompt):
|