NCJ commited on
Commit
8921d85
1 Parent(s): 6685c85
Files changed (1) hide show
  1. gradio_demo.py +1 -1
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(90) # 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)