Ahsen Khaliq commited on
Commit
ce83912
·
1 Parent(s): c05996b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -6,6 +6,7 @@ os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.4/Arcane
6
  os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.3/ArcaneGANv0.3.jit")
7
  os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.2/ArcaneGANv0.2.jit")
8
  os.system("pip -qq install facenet_pytorch")
 
9
  from facenet_pytorch import MTCNN
10
  from torchvision import transforms
11
  import torch, PIL
@@ -147,5 +148,6 @@ gr.Interface(
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,cache_examples=True)
 
 
6
  os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.3/ArcaneGANv0.3.jit")
7
  os.system("wget https://github.com/Sxela/ArcaneGAN/releases/download/v0.2/ArcaneGANv0.2.jit")
8
  os.system("pip -qq install facenet_pytorch")
9
+ os.system("pip install gradio==2.5.3")
10
  from facenet_pytorch import MTCNN
11
  from torchvision import transforms
12
  import torch, PIL
 
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()