Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
•
71753e8
1
Parent(s):
c6743a5
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,7 @@ from facenet_pytorch import MTCNN
|
|
8 |
from torchvision import transforms
|
9 |
import torch, PIL
|
10 |
torch.hub.download_url_to_file('https://www.giantfreakinrobot.com/wp-content/uploads/2021/02/adult-groot.jpg', 'groot.jpg')
|
|
|
11 |
|
12 |
from tqdm.notebook import tqdm
|
13 |
import gradio as gr
|
@@ -148,6 +149,6 @@ gr.Interface(
|
|
148 |
title=title,
|
149 |
description=description,
|
150 |
article=article,
|
151 |
-
examples=[['groot.jpg']],
|
152 |
enable_queue=True
|
153 |
).launch(debug=True)
|
|
|
8 |
from torchvision import transforms
|
9 |
import torch, PIL
|
10 |
torch.hub.download_url_to_file('https://www.giantfreakinrobot.com/wp-content/uploads/2021/02/adult-groot.jpg', 'groot.jpg')
|
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
|
14 |
import gradio as gr
|
|
|
149 |
title=title,
|
150 |
description=description,
|
151 |
article=article,
|
152 |
+
examples=[['groot.jpg'],['bill.png']],
|
153 |
enable_queue=True
|
154 |
).launch(debug=True)
|