Spaces:
Paused
Paused
Ahsen Khaliq
commited on
Commit
·
1ad49fc
1
Parent(s):
a778d91
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.4/Arcane
|
|
7 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.3/ArcaneGANv0.3.jit")
|
8 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.2/ArcaneGANv0.2.jit")
|
9 |
os.system("pip -qq install facenet_pytorch")
|
10 |
-
os.system("pip install gradio==2.5.3")
|
11 |
from facenet_pytorch import MTCNN
|
12 |
from torchvision import transforms
|
13 |
import torch, PIL
|
@@ -148,6 +147,5 @@ gr.Interface(
|
|
148 |
title=title,
|
149 |
description=description,
|
150 |
article=article,
|
151 |
-
examples=[['bill.png','version 0.3'],['keanu.png','version 0.4'],['will.jpeg','version 0.4']]
|
152 |
-
enable_queue=True
|
153 |
-
).launch()
|
|
|
7 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.3/ArcaneGANv0.3.jit")
|
8 |
os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.2/ArcaneGANv0.2.jit")
|
9 |
os.system("pip -qq install facenet_pytorch")
|
|
|
10 |
from facenet_pytorch import MTCNN
|
11 |
from torchvision import transforms
|
12 |
import torch, PIL
|
|
|
147 |
title=title,
|
148 |
description=description,
|
149 |
article=article,
|
150 |
+
examples=[['bill.png','version 0.3'],['keanu.png','version 0.4'],['will.jpeg','version 0.4']]
|
151 |
+
).launch(enable_queue=True)
|
|