Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -157,11 +157,11 @@ def run_refinement(
|
|
157 |
if randomize_seed:
|
158 |
seed = random.randint(0, MAX_SEED)
|
159 |
|
160 |
-
print("rgb_image", rgb_image)
|
161 |
# print("mesh", rgb_image)
|
162 |
|
163 |
if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
|
164 |
-
rgb_image = rgb_image["image"]
|
165 |
|
166 |
scene = run_detailgen3d(
|
167 |
pipeline,
|
|
|
157 |
if randomize_seed:
|
158 |
seed = random.randint(0, MAX_SEED)
|
159 |
|
160 |
+
# print("rgb_image", rgb_image)
|
161 |
# print("mesh", rgb_image)
|
162 |
|
163 |
if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
|
164 |
+
rgb_image = Image.open(rgb_image["image"]).convert("RGB")
|
165 |
|
166 |
scene = run_detailgen3d(
|
167 |
pipeline,
|