Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from PIL import Image
|
|
4 |
from torchvision import transforms
|
5 |
import gradio as gr
|
6 |
|
7 |
-
os.system("wget https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt")
|
8 |
|
9 |
|
10 |
model = torch.hub.load('pytorch/vision:v0.9.0', 'inception_v3', pretrained=True)
|
|
|
4 |
from torchvision import transforms
|
5 |
import gradio as gr
|
6 |
|
7 |
+
# os.system("wget https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt")
|
8 |
|
9 |
|
10 |
model = torch.hub.load('pytorch/vision:v0.9.0', 'inception_v3', pretrained=True)
|