Stanislaw Szymanowicz commited on
Commit
2181416
·
1 Parent(s): 0b4669a

Make path relative

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def main():
72
  image = resize_to_128(image)
73
  return image
74
 
75
- ply_out_path="/users/stan/splatter-image/gradio_out/mesh.ply"
76
  os.makedirs(os.path.dirname(ply_out_path), exist_ok=True)
77
 
78
  def reconstruct_and_export(image):
 
72
  image = resize_to_128(image)
73
  return image
74
 
75
+ ply_out_path=os.path.join(os.path.dirname(os.path.abspath(__file__)), "gradio_out", "mesh.ply")
76
  os.makedirs(os.path.dirname(ply_out_path), exist_ok=True)
77
 
78
  def reconstruct_and_export(image):