Skip to content

Commit 18815fd

Browse files
author
xhlulu
committed
Update Turbine Maintenance app from original repo
Former-commit-id: 4c0849c
1 parent 34ad345 commit 18815fd

File tree

1 file changed

+1
-1
lines changed
  • apps/dash-turbine-maintenance

1 file changed

+1
-1
lines changed

apps/dash-turbine-maintenance/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ def update_graph(selected_column, start_date, end_date, n_get_new_info, n_pred):
831831
y_pred = model.predict(x_test)
832832
df_out = pd.DataFrame()
833833
df_out["pred"] = y_pred
834-
value_rul = int(max(df_out["pred"]))
834+
value_rul = round(max(df_out["pred"]))
835835
information_update = "RUL is estimated based on the readings from the last week: " "from " + str(
836836
x_test.index[0]
837837
) + " to " + str(

0 commit comments

Comments
 (0)