Spaces:
Running
Running
Adarsh7700
commited on
Commit
•
ff6df37
1
Parent(s):
bbb6330
Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ print('Loading diffusion model ...')
|
|
106 |
pipeline = DiffusionPipeline.from_pretrained(
|
107 |
"sudo-ai/zero123plus-v1.2",
|
108 |
custom_pipeline="zero123plus",
|
109 |
-
torch_dtype=torch.
|
110 |
)
|
111 |
pipeline.scheduler = EulerAncestralDiscreteScheduler.from_config(
|
112 |
pipeline.scheduler.config, timestep_spacing='trailing'
|
|
|
106 |
pipeline = DiffusionPipeline.from_pretrained(
|
107 |
"sudo-ai/zero123plus-v1.2",
|
108 |
custom_pipeline="zero123plus",
|
109 |
+
torch_dtype=torch.bfloat16,
|
110 |
)
|
111 |
pipeline.scheduler = EulerAncestralDiscreteScheduler.from_config(
|
112 |
pipeline.scheduler.config, timestep_spacing='trailing'
|