GhaSiKey commited on
Commit
213f2f7
1 Parent(s): b8b56bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from torchvision import transforms
6
  model = torch.hub.load('pytorch/vision:v0.6.0', 'resnet18', pretrained=True).eval()
7
  response = requests.get("https://git.io/JJkYN")
8
  labels = response.text.split("\n")
9
-
10
  def predict(inp):
11
  inp = transforms.ToTensor()(inp).unsqueeze(0)
12
  with torch.no_grad():
 
6
  model = torch.hub.load('pytorch/vision:v0.6.0', 'resnet18', pretrained=True).eval()
7
  response = requests.get("https://git.io/JJkYN")
8
  labels = response.text.split("\n")
9
+ #zheshizhushi
10
  def predict(inp):
11
  inp = transforms.ToTensor()(inp).unsqueeze(0)
12
  with torch.no_grad():