Aluren commited on
Commit
2c8a6a7
·
verified ·
1 Parent(s): 9d8c0ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -125,6 +125,7 @@ def run_detailgen3d(
125
  guidance_scale,
126
  ):
127
  surface = load_mesh(mesh)
 
128
 
129
  batch_size = 1
130
 
@@ -170,8 +171,6 @@ def run_refinement(
170
  # if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
171
  # rgb_image = Image.open(rgb_image["image"]).convert("RGB")
172
 
173
- rgb_image = Image.open(rgb_image).convert("RGB")
174
-
175
  scene = run_detailgen3d(
176
  pipeline,
177
  rgb_image,
 
125
  guidance_scale,
126
  ):
127
  surface = load_mesh(mesh)
128
+ image = Image.open(image).convert("RGB")
129
 
130
  batch_size = 1
131
 
 
171
  # if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
172
  # rgb_image = Image.open(rgb_image["image"]).convert("RGB")
173
 
 
 
174
  scene = run_detailgen3d(
175
  pipeline,
176
  rgb_image,