akhaliq HF Staff commited on
Commit
e9a376f
·
1 Parent(s): a7f13a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -37,10 +37,7 @@ def preprocess(image):
37
 
38
  return image
39
 
40
- preprocess = transforms.Compose([
41
- transforms.ToTensor(),
42
- transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
43
- ])
44
 
45
  # Start from ORT 1.10, ORT requires explicitly setting the providers parameter if you want to use execution providers
46
  # other than the default CPU provider (as opposed to the previous behavior of providers getting set/registered by default
 
37
 
38
  return image
39
 
40
+
 
 
 
41
 
42
  # Start from ORT 1.10, ORT requires explicitly setting the providers parameter if you want to use execution providers
43
  # other than the default CPU provider (as opposed to the previous behavior of providers getting set/registered by default