dawood HF staff commited on
Commit
68a7adb
1 Parent(s): 2d22ee1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -175,7 +175,9 @@ def do_inference(input_3d, sample_seed=0, do_sampling=False, do_marching_cubes=F
175
  # add time stamp to avoid cache
176
  save_name = f"output_{int(time.time())}.obj"
177
  artist_mesh.export(save_name)
178
- return input_save_name, input_save_name, save_name, save_name
 
 
179
 
180
 
181
  _HEADER_ = '''
 
175
  # add time stamp to avoid cache
176
  save_name = f"output_{int(time.time())}.obj"
177
  artist_mesh.export(save_name)
178
+ mesh.vertices = mesh.vertices[:, [0, 2, 1]]
179
+ artist_mesh.vertices = artist_mesh.vertices[:, [0, 2, 1]]
180
+ return input_save_name, mesh, save_name, artist_mesh
181
 
182
 
183
  _HEADER_ = '''