akin23 commited on
Commit
ab00a91
·
verified ·
1 Parent(s): 25fc296

Update src/facerender/animate.py

Browse files
Files changed (1) hide show
  1. src/facerender/animate.py +1 -1
src/facerender/animate.py CHANGED
@@ -154,7 +154,7 @@ class AnimateFromCoeff:
154
  device='cpu'):
155
 
156
  # 1) Eğer .tar ile bitiyorsa, önce geçici klasöre aç
157
- if checkpoint_path.endswith('.tar'):
158
  tmpdir = tempfile.mkdtemp()
159
  with tarfile.open(checkpoint_path, 'r') as tar:
160
  tar.extractall(path=tmpdir)
 
154
  device='cpu'):
155
 
156
  # 1) Eğer .tar ile bitiyorsa, önce geçici klasöre aç
157
+ if checkpoint_path.endswith(''):
158
  tmpdir = tempfile.mkdtemp()
159
  with tarfile.open(checkpoint_path, 'r') as tar:
160
  tar.extractall(path=tmpdir)