baimamboukar commited on
Commit
e29d86f
1 Parent(s): 198eb21

fix: fix model error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ IMAGENET_1K_LABELS = requests.get(IMAGENET_1K_URL).text.strip().split('\n')
13
  model = create_model('resnet50', pretrained=True)
14
 
15
  transform = create_transform(
16
- **resolve_data_config({}, model=model)['test_time_augmentation'][0])
17
 
18
 
19
  model.eval()
 
13
  model = create_model('resnet50', pretrained=True)
14
 
15
  transform = create_transform(
16
+ **resolve_data_config({}, model=model))
17
 
18
 
19
  model.eval()