Spaces:
Running
Running
Update src/facerender/animate.py
Browse files
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('
|
| 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)
|