Kev09 commited on
Commit
52bd171
·
1 Parent(s): bf2220c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def transformation(image):
22
  preds = model(inputs)
23
  print("1 :",preds)
24
  print( type(preds) )
25
- preds=preds.numpy()
26
 
27
 
28
  #preds=np.array(preds)
 
22
  preds = model(inputs)
23
  print("1 :",preds)
24
  print( type(preds) )
25
+ preds=preds.detach().numpy()
26
 
27
 
28
  #preds=np.array(preds)