perler commited on
Commit
b5ab04b
·
1 Parent(s): 4800b6d

need to import from ppsurf subdir

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -61,10 +61,10 @@ def main():
61
  def convert_to_ply(input_point_cloud_upload: gr.utils.NamedString):
62
 
63
  # add absolute path to import dirs
64
- # import sys
65
- # import os
66
- # sys.path.append(os.path.abspath('ppsurf'))
67
- #
68
  # import os
69
  # os.chdir('ppsurf')
70
 
 
61
  def convert_to_ply(input_point_cloud_upload: gr.utils.NamedString):
62
 
63
  # add absolute path to import dirs
64
+ import sys
65
+ import os
66
+ sys.path.append(os.path.abspath('ppsurf'))
67
+
68
  # import os
69
  # os.chdir('ppsurf')
70