Stable-X commited on
Commit
5a96de9
·
verified ·
1 Parent(s): 71681dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -19,6 +19,9 @@ MAX_SEED = np.iinfo(np.int32).max
19
  TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')
20
  os.makedirs(TMP_DIR, exist_ok=True)
21
 
 
 
 
22
  def preprocess_mesh(mesh_prompt):
23
  print("Processing mesh")
24
  trimesh_mesh = trimesh.load_mesh(mesh_prompt)
 
19
  TMP_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'tmp')
20
  os.makedirs(TMP_DIR, exist_ok=True)
21
 
22
+ from transformers.utils.hub import move_cache
23
+ move_cache()
24
+
25
  def preprocess_mesh(mesh_prompt):
26
  print("Processing mesh")
27
  trimesh_mesh = trimesh.load_mesh(mesh_prompt)