akin23 commited on
Commit
50da102
·
verified ·
1 Parent(s): 5546741

Update src/facerender/animate.py

Browse files
Files changed (1) hide show
  1. src/facerender/animate.py +1 -1
src/facerender/animate.py CHANGED
@@ -160,7 +160,7 @@ class AnimateFromCoeff:
160
  optimizer_mapping=None,
161
  optimizer_discriminator=None,
162
  device='cpu'):
163
- import os, tarfile, tempfile, torch
164
 
165
  # 1) Eğer .tar veya .pth.tar ile bitiyorsa:
166
  if checkpoint_path.endswith('.tar') or checkpoint_path.endswith('.pth.tar'):
 
160
  optimizer_mapping=None,
161
  optimizer_discriminator=None,
162
  device='cpu'):
163
+
164
 
165
  # 1) Eğer .tar veya .pth.tar ile bitiyorsa:
166
  if checkpoint_path.endswith('.tar') or checkpoint_path.endswith('.pth.tar'):