Spaces:
Runtime error
Runtime error
try local file path again
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def run_on_gpu(input_point_cloud: gr.utils.NamedString,
|
|
29 |
in_file = '{}'.format(input_point_cloud.name)
|
30 |
|
31 |
rand_hash = uuid.uuid4().hex
|
32 |
-
out_dir = '
|
33 |
out_file_basename = os.path.basename(in_file) + '.obj'
|
34 |
out_file = os.path.join(out_dir, os.path.basename(in_file), out_file_basename)
|
35 |
os.makedirs(out_dir, exist_ok=True)
|
|
|
29 |
in_file = '{}'.format(input_point_cloud.name)
|
30 |
|
31 |
rand_hash = uuid.uuid4().hex
|
32 |
+
out_dir = 'outputs/{}'.format(rand_hash)
|
33 |
out_file_basename = os.path.basename(in_file) + '.obj'
|
34 |
out_file = os.path.join(out_dir, os.path.basename(in_file), out_file_basename)
|
35 |
os.makedirs(out_dir, exist_ok=True)
|