Huiwenshi commited on
Commit
740dbad
·
verified ·
1 Parent(s): 95a5a8a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. hg_app.py +3 -3
hg_app.py CHANGED
@@ -193,8 +193,8 @@ def _gen_shape(
193
  octree_resolution=octree_resolution
194
  )[0]
195
 
196
- # mesh = FloaterRemover()(mesh)
197
- # mesh = DegenerateFaceRemover()(mesh)
198
  mesh = FaceReducer()(mesh)
199
 
200
  stats['number_of_faces'] = mesh.faces.shape[0]
@@ -453,6 +453,6 @@ if __name__ == '__main__':
453
  app.mount("/static", StaticFiles(directory=static_dir), name="static")
454
 
455
  demo = build_app()
456
- demo.queue(max_size=4)
457
  app = gr.mount_gradio_app(app, demo, path="/")
458
  uvicorn.run(app, host=IP, port=PORT)
 
193
  octree_resolution=octree_resolution
194
  )[0]
195
 
196
+ mesh = FloaterRemover()(mesh)
197
+ mesh = DegenerateFaceRemover()(mesh)
198
  mesh = FaceReducer()(mesh)
199
 
200
  stats['number_of_faces'] = mesh.faces.shape[0]
 
453
  app.mount("/static", StaticFiles(directory=static_dir), name="static")
454
 
455
  demo = build_app()
456
+ demo.queue(max_size=9)
457
  app = gr.mount_gradio_app(app, demo, path="/")
458
  uvicorn.run(app, host=IP, port=PORT)