KFrimps commited on
Commit
a2dfd72
·
verified ·
1 Parent(s): b58ae42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def predict(image):
17
 
18
  # Make prediction
19
  with torch.no_grad():
20
- outputs = student_model(**inputs)
21
  predicted_class_idx = torch.argmax(outputs.logits, dim=1).item()
22
 
23
  # Get predicted class label
 
17
 
18
  # Make prediction
19
  with torch.no_grad():
20
+ outputs = model(**inputs)
21
  predicted_class_idx = torch.argmax(outputs.logits, dim=1).item()
22
 
23
  # Get predicted class label