Stanislaw Szymanowicz commited on
Commit
5b91d79
1 Parent(s): ebd9cdc

Correct plyfile path

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -114,9 +114,9 @@ def main():
114
  loop_out_path = os.path.join(os.path.dirname(ply_out_path), "loop.mp4")
115
  imageio.mimsave(loop_out_path, loop_renders, fps=25)"""
116
  # export reconstruction to ply
117
- export_to_obj(reconstruction_unactivated, ply_out_path)
118
 
119
- return None, ply_out_path
120
 
121
  with gr.Blocks() as demo:
122
  gr.Markdown(
 
114
  loop_out_path = os.path.join(os.path.dirname(ply_out_path), "loop.mp4")
115
  imageio.mimsave(loop_out_path, loop_renders, fps=25)"""
116
  # export reconstruction to ply
117
+ export_to_obj(reconstruction_unactivated, ply_out_path.name)
118
 
119
+ return None, ply_out_path.name
120
 
121
  with gr.Blocks() as demo:
122
  gr.Markdown(