csuhan commited on
Commit
068ab29
·
1 Parent(s): 8a5ad26

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,5 +1,7 @@
 
 
1
  import subprocess
2
- msg = subprocess.check_output(["cd model/lib/pointnet2 && python setup.py install"])
3
  print(msg)
4
 
5
  import sys
 
1
+ import os
2
+ current_file_dir=os.path.dirname(os.path.abspath(__file__))
3
  import subprocess
4
+ msg = subprocess.check_output([f"cd {current_file_dir}/model/lib/pointnet2 && python setup.py install"])
5
  print(msg)
6
 
7
  import sys