NCJ commited on
Commit
6685c85
1 Parent(s): 0f27f95
Files changed (2) hide show
  1. .gitignore +3 -0
  2. gradio_demo.py +1 -1
.gitignore ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ *.ipynb
2
+ *.glb
3
+ *.ply
gradio_demo.py CHANGED
@@ -89,7 +89,7 @@ def mesh_gen(tmp_dir, simplify, num_inference_steps):
89
 
90
  mesh = trimesh.load_mesh(f"{tmp_dir}/mesh.ply")
91
  vertex_normals = mesh.vertex_normals
92
- theta = np.radians(180) # Rotation angle in radians
93
  # Create rotation matrix
94
  cos_theta = np.cos(theta)
95
  sin_theta = np.sin(theta)
 
89
 
90
  mesh = trimesh.load_mesh(f"{tmp_dir}/mesh.ply")
91
  vertex_normals = mesh.vertex_normals
92
+ theta = np.radians(90) # Rotation angle in radians
93
  # Create rotation matrix
94
  cos_theta = np.cos(theta)
95
  sin_theta = np.sin(theta)