ritwikraha commited on
Commit
b55e48d
·
1 Parent(s): 7ecc0dd

fix: changing image type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -240,7 +240,7 @@ def show_rendered_image(r,theta,phi):
240
  rgb, depth = render_rgb_depth(
241
  nerf_loaded, rays_flat[None, ...], t_vals[None, ...], rand=False, train=False
242
  )
243
- return(rgb[0], depth[0])
244
 
245
  # app.py text matter starts here
246
  st.title('NeRF:Neural Radiance Fields')
 
240
  rgb, depth = render_rgb_depth(
241
  nerf_loaded, rays_flat[None, ...], t_vals[None, ...], rand=False, train=False
242
  )
243
+ return(rgb[0].numpy(), depth[0].numpy())
244
 
245
  # app.py text matter starts here
246
  st.title('NeRF:Neural Radiance Fields')