Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
•
f368233
1
Parent(s):
b983534
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ os.system("pip -qq install facenet_pytorch")
|
|
8 |
from facenet_pytorch import MTCNN
|
9 |
from torchvision import transforms
|
10 |
import torch, PIL
|
11 |
-
torch.hub.download_url_to_file('https://www.giantfreakinrobot.com/wp-content/uploads/2021/02/adult-groot.jpg', 'groot.jpg')
|
12 |
torch.hub.download_url_to_file('https://hf.space/gradioiframe/akhaliq/AnimeGANv2/file/bill.png', 'bill.png')
|
13 |
|
14 |
from tqdm.notebook import tqdm
|
@@ -147,6 +146,6 @@ gr.Interface(
|
|
147 |
title=title,
|
148 |
description=description,
|
149 |
article=article,
|
150 |
-
examples=[['
|
151 |
enable_queue=True
|
152 |
).launch(debug=True)
|
|
|
8 |
from facenet_pytorch import MTCNN
|
9 |
from torchvision import transforms
|
10 |
import torch, PIL
|
|
|
11 |
torch.hub.download_url_to_file('https://hf.space/gradioiframe/akhaliq/AnimeGANv2/file/bill.png', 'bill.png')
|
12 |
|
13 |
from tqdm.notebook import tqdm
|
|
|
146 |
title=title,
|
147 |
description=description,
|
148 |
article=article,
|
149 |
+
examples=[['bill.png','version 0.2'],['keanu.png','version 0.3'],['will.jpeg','version 0.2']],
|
150 |
enable_queue=True
|
151 |
).launch(debug=True)
|