shir0ha commited on
Commit
92dfdc9
1 Parent(s): bc539c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ model.eval()
14
  def predict(inp):
15
  print("***********Inference****************")
16
  res = inference_img(model, inp)
 
17
  main_subject = inp.copy()
18
  main_subject = main_subject * res[res > 0.1]
19
  return main_subject
 
14
  def predict(inp):
15
  print("***********Inference****************")
16
  res = inference_img(model, inp)
17
+ print(res.shape)
18
  main_subject = inp.copy()
19
  main_subject = main_subject * res[res > 0.1]
20
  return main_subject