Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
•
7578aa8
1
Parent(s):
c1307a8
update to v0.3
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import os
|
2 |
|
3 |
-
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.
|
4 |
os.system("pip -qq install facenet_pytorch")
|
5 |
|
6 |
|
@@ -118,7 +118,7 @@ def proc_pil_img(input_image, model):
|
|
118 |
|
119 |
|
120 |
|
121 |
-
model_path = './ArcaneGANv0.
|
122 |
|
123 |
model = torch.jit.load(model_path,map_location='cpu').to('cpu').float().eval().cpu()
|
124 |
|
|
|
1 |
import os
|
2 |
|
3 |
+
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.3/ArcaneGANv0.3.jit")
|
4 |
os.system("pip -qq install facenet_pytorch")
|
5 |
|
6 |
|
|
|
118 |
|
119 |
|
120 |
|
121 |
+
model_path = './ArcaneGANv0.3.jit'
|
122 |
|
123 |
model = torch.jit.load(model_path,map_location='cpu').to('cpu').float().eval().cpu()
|
124 |
|