MeYourHint commited on
Commit
1d38a79
·
1 Parent(s): 7450ab3
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -219,7 +219,6 @@ def generate(
219
  ruid = random.randrange(99999)
220
  for k, (caption, joint_data) in enumerate(zip(captions, data)):
221
  animation_path = pjoin(cached_dir, f'{uid}')
222
- shutil.rmtree(animation_path)
223
  os.makedirs(animation_path, exist_ok=True)
224
  joint_data = joint_data[:m_length[k]]
225
  joint = recover_from_ric(torch.from_numpy(joint_data).float(), 22).numpy()
 
219
  ruid = random.randrange(99999)
220
  for k, (caption, joint_data) in enumerate(zip(captions, data)):
221
  animation_path = pjoin(cached_dir, f'{uid}')
 
222
  os.makedirs(animation_path, exist_ok=True)
223
  joint_data = joint_data[:m_length[k]]
224
  joint = recover_from_ric(torch.from_numpy(joint_data).float(), 22).numpy()