Spaces:
Runtime error
Runtime error
output dir seems missing
Browse files
app.py
CHANGED
@@ -33,6 +33,7 @@ def run_on_gpu(input_point_cloud: gr.utils.NamedString,
|
|
33 |
splitext_result = os.path.splitext(in_file)
|
34 |
out_file = splitext_result[0] + '_rec' + splitext_result[1]
|
35 |
out_dir = os.path.dirname(out_file)
|
|
|
36 |
model_path = 'models/ppsurf_50nn/version_0/checkpoints/last.ckpt'
|
37 |
|
38 |
args = [
|
|
|
33 |
splitext_result = os.path.splitext(in_file)
|
34 |
out_file = splitext_result[0] + '_rec' + splitext_result[1]
|
35 |
out_dir = os.path.dirname(out_file)
|
36 |
+
os.makedirs(out_dir, exist_ok=True)
|
37 |
model_path = 'models/ppsurf_50nn/version_0/checkpoints/last.ckpt'
|
38 |
|
39 |
args = [
|