kevin 2 лет назад
Родитель
Сommit
28f22b1806
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      fr_flask.py

+ 1 - 2
fr_flask.py

@@ -117,8 +117,7 @@ def predict():
                 "proba": proba,
                 "delta": total[0][i]
             }
-            if total[0][i] > total_threshold:
-                result.append(js)
+            result.append(js)
             end_time = time.perf_counter()
             process_time = end_time - start_time
             print(total[0])