shyamgupta196 commited on
Commit
325c3c6
1 Parent(s): 10367e5
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import torch
4
  from timm.data import resolve_data_config
5
  from timm.data.transforms_factory import create_transform
6
 
7
- LABELS = [0:'Cat', 1:'Dog']
8
  model = torch.load('CatVsDogModel.py')
9
  model.eval()
10
  transform = create_transform(**resolve_data_config({},model=model))
 
4
  from timm.data import resolve_data_config
5
  from timm.data.transforms_factory import create_transform
6
 
7
+ LABELS = {0:'Cat', 1:'Dog'}
8
  model = torch.load('CatVsDogModel.py')
9
  model.eval()
10
  transform = create_transform(**resolve_data_config({},model=model))