Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|