Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
import torch
|
2 |
import gradio as gr
|
3 |
-
import
|
4 |
-
from PIL import Image
|
5 |
from torchvision import transforms
|
|
|
|
|
6 |
|
7 |
model = torch.hub.load('pytorch/vision:v0.6.0', 'resnet18', pretrained=True).eval()
|
8 |
|
|
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
|
|
3 |
from torchvision import transforms
|
4 |
+
from PIL import Image
|
5 |
+
import requests
|
6 |
|
7 |
model = torch.hub.load('pytorch/vision:v0.6.0', 'resnet18', pretrained=True).eval()
|
8 |
|