MrUtakata commited on
Commit
b2a603e
·
verified ·
1 Parent(s): b8c5ad1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import pickle
5
  import numpy as np
6
 
7
  # Load model and preprocessing artifacts
8
- model = joblib.load("ensemble_voting_model.pkl")
9
  with open("features_to_drop.pkl", "rb") as f:
10
  features_to_drop = pickle.load(f)
11
 
@@ -42,7 +42,7 @@ def preprocess_input(row_values):
42
  return input_df
43
 
44
  # Streamlit UI
45
- st.title("🔍 Intrusion Detection In Networks")
46
  st.markdown("Paste a **single row** of raw features from the dataset (49 values, tab-separated):")
47
 
48
  user_input = st.text_area("Input Row", height=150)
 
5
  import numpy as np
6
 
7
  # Load model and preprocessing artifacts
8
+ model = joblib.load("ensemble_model.pkl")
9
  with open("features_to_drop.pkl", "rb") as f:
10
  features_to_drop = pickle.load(f)
11
 
 
42
  return input_df
43
 
44
  # Streamlit UI
45
+ st.title("🔍 Anomaly Detection In Network Traffic")
46
  st.markdown("Paste a **single row** of raw features from the dataset (49 values, tab-separated):")
47
 
48
  user_input = st.text_area("Input Row", height=150)