Spaces:
Running
Running
Update src/facerender/animate.py
Browse files
src/facerender/animate.py
CHANGED
|
@@ -160,7 +160,7 @@ class AnimateFromCoeff:
|
|
| 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'):
|
|
|
|
| 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'):
|