Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ from modules.generator import OcclusionAwareGenerator
|
|
15 |
from modules.keypoint_detector import KPDetector
|
16 |
from animate import normalize_kp
|
17 |
|
18 |
-
|
19 |
def load_checkpoints(config_path, checkpoint_path, cpu=False):
|
20 |
|
21 |
with open(config_path) as f:
|
|
|
15 |
from modules.keypoint_detector import KPDetector
|
16 |
from animate import normalize_kp
|
17 |
|
18 |
+
pad=np.pad
|
19 |
def load_checkpoints(config_path, checkpoint_path, cpu=False):
|
20 |
|
21 |
with open(config_path) as f:
|