bartduis commited on
Commit
ba79a4c
·
verified ·
1 Parent(s): 69d2930

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -200,13 +200,13 @@ def process_image(input_img):
200
  if os.path.exists(outdir):
201
  shutil.rmtree(outdir)
202
  os.makedirs(outdir)
203
-
204
  input_glb = input_to_glb(outdir,input_img,depth_dict,mask,rotated=rotated)
205
 
206
- # visualize the input points in 3D in gradio
207
- inference_glb = rayst3r_to_glb(input_img,depth_dict,mask,rotated=rotated)
208
 
209
- return input_glb, inference_glb
210
 
211
  demo = gr.Interface(
212
  process_image,
 
200
  if os.path.exists(outdir):
201
  shutil.rmtree(outdir)
202
  os.makedirs(outdir)
203
+
204
  input_glb = input_to_glb(outdir,input_img,depth_dict,mask,rotated=rotated)
205
 
206
+ # # visualize the input points in 3D in gradio
207
+ # inference_glb = rayst3r_to_glb(input_img,depth_dict,mask,rotated=rotated)
208
 
209
+ return input_glb, input_glb
210
 
211
  demo = gr.Interface(
212
  process_image,