Spaces:
Runtime error
Runtime error
Arnaudding001
commited on
Commit
•
3c6ed74
1
Parent(s):
c642d93
Update vtoonify_model.py
Browse files- vtoonify_model.py +4 -2
vtoonify_model.py
CHANGED
@@ -10,8 +10,10 @@ import torch.nn as nn
|
|
10 |
import numpy as np
|
11 |
import dlib
|
12 |
import cv2
|
13 |
-
from model.vtoonify import VToonify
|
14 |
-
from model.bisenet.model import BiSeNet
|
|
|
|
|
15 |
import torch.nn.functional as F
|
16 |
from torchvision import transforms
|
17 |
from model.encoder.align_all_parallel import align_face
|
|
|
10 |
import numpy as np
|
11 |
import dlib
|
12 |
import cv2
|
13 |
+
#from model.vtoonify import VToonify
|
14 |
+
#from model.bisenet.model import BiSeNet
|
15 |
+
from vtoonify import VToonify
|
16 |
+
from bisenet_model import BiseNet
|
17 |
import torch.nn.functional as F
|
18 |
from torchvision import transforms
|
19 |
from model.encoder.align_all_parallel import align_face
|