Spaces:
Runtime error
Runtime error
bug fixed
Browse files
app.py
CHANGED
@@ -33,11 +33,11 @@ unet3d_condition_model_forward_copy = UNet3DConditionModel.forward
|
|
33 |
UNet3DConditionModel.forward = unet3d_condition_model_forward
|
34 |
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
|
42 |
MAX_KEYS = 10
|
43 |
|
|
|
33 |
UNet3DConditionModel.forward = unet3d_condition_model_forward
|
34 |
|
35 |
|
36 |
+
model_id = "cerspense/zeroscope_v2_576w"
|
37 |
+
model_path = model_id
|
38 |
+
pipe = DiffusionPipeline.from_pretrained(model_path, torch_dtype=torch.float16)
|
39 |
+
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config)
|
40 |
+
pipe.to("cuda")
|
41 |
|
42 |
MAX_KEYS = 10
|
43 |
|