Thomas Male
commited on
Update handler.py
Browse files- handler.py +2 -2
handler.py
CHANGED
|
@@ -72,8 +72,8 @@ class EndpointHandler():
|
|
| 72 |
if use_image:
|
| 73 |
sampler = PointCloudSampler(
|
| 74 |
device=device,
|
| 75 |
-
models=[
|
| 76 |
-
diffusions=[base_diffusion, upsampler_diffusion],
|
| 77 |
num_points=[1024, 4096 - 1024],
|
| 78 |
aux_channels=['R', 'G', 'B'],
|
| 79 |
guidance_scale=[3.0, 3.0],
|
|
|
|
| 72 |
if use_image:
|
| 73 |
sampler = PointCloudSampler(
|
| 74 |
device=device,
|
| 75 |
+
models=[self.base_image_model, self.upsampler_model],
|
| 76 |
+
diffusions=[self.base_diffusion, self.upsampler_diffusion],
|
| 77 |
num_points=[1024, 4096 - 1024],
|
| 78 |
aux_channels=['R', 'G', 'B'],
|
| 79 |
guidance_scale=[3.0, 3.0],
|