02alexander commited on
Commit
3d1298a
β€’
1 Parent(s): 23a8e9a

add missing yield

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -337,6 +337,7 @@ def log_to_rr(input_image, do_remove_background, sample_steps, sample_seed):
337
  for msg in make3d(z123_image):
338
  if msg[0] == "log":
339
  rr.log(msg[1], msg[2])
 
340
 
341
  _HEADER_ = '''
342
  <h2><b>Official πŸ€— Gradio Demo</b></h2><h2><a href='https://github.com/TencentARC/InstantMesh' target='_blank'><b>InstantMesh: Efficient 3D Mesh Generation from a Single Image with Sparse-view Large Reconstruction Models</b></a></h2>
 
337
  for msg in make3d(z123_image):
338
  if msg[0] == "log":
339
  rr.log(msg[1], msg[2])
340
+ yield stream.read()
341
 
342
  _HEADER_ = '''
343
  <h2><b>Official πŸ€— Gradio Demo</b></h2><h2><a href='https://github.com/TencentARC/InstantMesh' target='_blank'><b>InstantMesh: Efficient 3D Mesh Generation from a Single Image with Sparse-view Large Reconstruction Models</b></a></h2>