for876543 commited on
Commit
9e14d7c
1 Parent(s): 62c85fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import json
10
  model = torch.load("/home/user/app/model_final.pkl",map_location=torch.device('cpu'))
11
  model.eval()
12
 
13
- with open("/content/class_mapping.json", "r") as read_file:
14
  classes = json.load(read_file)
15
 
16
  def classify_image(inp):
 
10
  model = torch.load("/home/user/app/model_final.pkl",map_location=torch.device('cpu'))
11
  model.eval()
12
 
13
+ with open("/home/user/app/class_mapping.json", "r") as read_file:
14
  classes = json.load(read_file)
15
 
16
  def classify_image(inp):