Aluren commited on
Commit
c08a501
·
verified ·
1 Parent(s): 6fb39c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -174,7 +174,7 @@ def run_refinement(
174
  # print("mesh", rgb_image)
175
 
176
  if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
177
- rgb_image = Image.open(rgb_image["image"]).convert("RGB")
178
 
179
  scene = run_detailgen3d(
180
  pipeline,
 
174
  # print("mesh", rgb_image)
175
 
176
  if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
177
+ rgb_image = rgb_image["image"]
178
 
179
  scene = run_detailgen3d(
180
  pipeline,