rohithk-03 commited on
Commit
0eb824f
·
1 Parent(s): 46eaf62

update model code

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -157,4 +157,4 @@ def check_file(image_path):
157
  model = nn.DataParallel(model)
158
  output = test_model(model, test_loader, device)
159
  print(output)
160
- return str(output)
 
157
  model = nn.DataParallel(model)
158
  output = test_model(model, test_loader, device)
159
  print(output)
160
+ return "Control" if output.item() == 0 else "Axial"