perler commited on
Commit
d2fb870
1 Parent(s): 1ac33a8

maybe gradio can render obj outputs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ def run_on_gpu(input_point_cloud: gr.utils.NamedString,
30
 
31
  rand_hash = uuid.uuid4().hex
32
  out_dir = '/tmp/outputs/{}'.format(rand_hash)
33
- out_file_basename = os.path.basename(in_file) + '.ply'
34
  out_file = os.path.join(out_dir, os.path.basename(in_file), out_file_basename)
35
  os.makedirs(out_dir, exist_ok=True)
36
 
@@ -67,7 +67,7 @@ def main():
67
  description_header = '# PPSurf: Combining Patches and Point Convolutions for Detailed Surface Reconstruction'
68
 
69
  description_col0 = '''## [Github](https://github.com/cg-tuwien/ppsurf)
70
- Supported file formats:
71
  - PLY, STL, OBJ and other mesh files,
72
  - XYZ as whitespace-separated text file,
73
  - NPY and NPZ (key='arr_0'),
 
30
 
31
  rand_hash = uuid.uuid4().hex
32
  out_dir = '/tmp/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)
36
 
 
67
  description_header = '# PPSurf: Combining Patches and Point Convolutions for Detailed Surface Reconstruction'
68
 
69
  description_col0 = '''## [Github](https://github.com/cg-tuwien/ppsurf)
70
+ Supported input file formats:
71
  - PLY, STL, OBJ and other mesh files,
72
  - XYZ as whitespace-separated text file,
73
  - NPY and NPZ (key='arr_0'),