Spaces:
Sleeping
Sleeping
Commit
·
c981e63
1
Parent(s):
cd9810f
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def greet(co):
|
|
| 80 |
pred_4 = int(pred_4[0])
|
| 81 |
|
| 82 |
# ensemble
|
| 83 |
-
tot_result = (pred_1 * 0.
|
| 84 |
pred_3 * 0.1 + pred_4 * 0.1).argmax()
|
| 85 |
if tot_result == 0:
|
| 86 |
return "false positive !!"
|
|
|
|
| 80 |
pred_4 = int(pred_4[0])
|
| 81 |
|
| 82 |
# ensemble
|
| 83 |
+
tot_result = (pred_1 * 0.7 + pred_2 * 0.1 +
|
| 84 |
pred_3 * 0.1 + pred_4 * 0.1).argmax()
|
| 85 |
if tot_result == 0:
|
| 86 |
return "false positive !!"
|