Kaushik066 commited on
Commit
f3d9114
·
verified ·
1 Parent(s): 220f13d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -213,6 +213,8 @@ if picture is not None:
213
  prediction = prod_function(model_pretrained, prod_dl, webcam_dl)
214
  predictions = torch.cat(prediction, 0).to(device)
215
  match_idx = torch.argmin(predictions)
 
 
216
 
217
  # Display the results
218
  if predictions[match_idx] <= 0.3:
 
213
  prediction = prod_function(model_pretrained, prod_dl, webcam_dl)
214
  predictions = torch.cat(prediction, 0).to(device)
215
  match_idx = torch.argmin(predictions)
216
+ st.write(predictions)
217
+ st.write(image_paths)
218
 
219
  # Display the results
220
  if predictions[match_idx] <= 0.3: