Spaces:
Runtime error
Runtime error
need to import from ppsurf subdir
Browse files
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 |
-
|
65 |
-
|
66 |
-
|
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 |
|