Aluren commited on
Commit
2efc073
·
verified ·
1 Parent(s): f14539f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -86,7 +86,7 @@ def run_detailgen3d(
86
  guidance_scale,
87
  ):
88
  surface = load_mesh(mesh)
89
- # image = Image.open(image).convert("RGB")
90
 
91
  batch_size = 1
92
 
@@ -126,8 +126,8 @@ def run_refinement(
126
  if randomize_seed:
127
  seed = random.randint(0, MAX_SEED)
128
 
129
- if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
130
- rgb_image = rgb_image["image"]
131
 
132
  print("rgb_image",rgb_image)
133
 
 
86
  guidance_scale,
87
  ):
88
  surface = load_mesh(mesh)
89
+ image = Image.open(image).convert("RGB")
90
 
91
  batch_size = 1
92
 
 
126
  if randomize_seed:
127
  seed = random.randint(0, MAX_SEED)
128
 
129
+ # if not isinstance(rgb_image, Image.Image) and "image" in rgb_image:
130
+ # rgb_image = rgb_image["image"]
131
 
132
  print("rgb_image",rgb_image)
133