sourize commited on
Commit
f03561d
·
verified ·
1 Parent(s): 3bfdb3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -12,7 +12,7 @@ def load_my_model():
12
  # Cache the scaler as well
13
  @st.cache_resource
14
  def load_my_scaler():
15
- return joblib.load("scaler1.pkl")
16
 
17
  model = load_my_model()
18
  scaler = load_my_scaler()
@@ -21,6 +21,7 @@ scaler = load_my_scaler()
21
  THRESHOLD = 0.1
22
 
23
  st.title("Maritime Anomaly Detection")
 
24
  st.markdown("### Input the following AIS features:")
25
 
26
  # Taking inputs from the user
 
12
  # Cache the scaler as well
13
  @st.cache_resource
14
  def load_my_scaler():
15
+ return joblib.load("scaler.pkl")
16
 
17
  model = load_my_model()
18
  scaler = load_my_scaler()
 
21
  THRESHOLD = 0.1
22
 
23
  st.title("Maritime Anomaly Detection")
24
+ st.image("/ship.webp")
25
  st.markdown("### Input the following AIS features:")
26
 
27
  # Taking inputs from the user