Ahsen Khaliq
commited on
Commit
·
327c86f
1
Parent(s):
0e371e4
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,6 @@ import paddlehub as hub
|
|
| 4 |
import gradio as gr
|
| 5 |
import torch
|
| 6 |
|
| 7 |
-
torch.hub.download_url_to_file('https://cdn.pixabay.com/photo/2018/08/12/16/59/ara-3601194_1280.jpg', 'parrot.jpg')
|
| 8 |
torch.hub.download_url_to_file('https://cdn.pixabay.com/photo/2016/10/21/14/46/fox-1758183_1280.jpg', 'fox.jpg')
|
| 9 |
|
| 10 |
model = hub.Module(name='U2Net')
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
import torch
|
| 6 |
|
|
|
|
| 7 |
torch.hub.download_url_to_file('https://cdn.pixabay.com/photo/2016/10/21/14/46/fox-1758183_1280.jpg', 'fox.jpg')
|
| 8 |
|
| 9 |
model = hub.Module(name='U2Net')
|