Spaces:
Runtime error
Runtime error
Upload ./third_party/mesh_baker.py with huggingface_hub
Browse files
third_party/mesh_baker.py
CHANGED
@@ -116,7 +116,7 @@ class MeshBaker:
|
|
116 |
aligned_cond, cond_info, _ = self.align_and_check(cond_pil, rendered_views[0], align_times=self.align_times)
|
117 |
if cond_info is None: continue
|
118 |
aligned_cond.convert("RGB").save(save_folder + f'/aligned_cond.jpg')
|
119 |
-
if front == '
|
120 |
aligned_img, info = aligned_cond, cond_info
|
121 |
print("Using input image to bake front view")
|
122 |
|
|
|
116 |
aligned_cond, cond_info, _ = self.align_and_check(cond_pil, rendered_views[0], align_times=self.align_times)
|
117 |
if cond_info is None: continue
|
118 |
aligned_cond.convert("RGB").save(save_folder + f'/aligned_cond.jpg')
|
119 |
+
if front == 'input image':
|
120 |
aligned_img, info = aligned_cond, cond_info
|
121 |
print("Using input image to bake front view")
|
122 |
|