Kwasiasomani commited on
Commit
4556a71
1 Parent(s): 0a7cda0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -6,7 +6,7 @@ import pickle
6
  from sklearn.preprocessing import StandardScaler
7
  from sklearn.ensemble import RandomForestClassifier
8
  import matplotlib.pyplot as plt
9
- from PIL import Image as PILImage # Renamed PIL to avoid conflict with Streamlit's Image
10
 
11
  # Load pre-trained model and scaler
12
  with open('scalers.pkl', 'rb') as scaler_file:
@@ -70,12 +70,6 @@ def main():
70
  initial_sidebar_state="collapsed"
71
  )
72
 
73
- # Load the image
74
- image = PILImage.open("fraud_detection_image.jpg")
75
-
76
- # Display the image
77
- st.image(image, use_column_width=True)
78
-
79
  # Sidebar - User input fields
80
  st.sidebar.title("Input Parameters")
81
  user_input = {}
 
6
  from sklearn.preprocessing import StandardScaler
7
  from sklearn.ensemble import RandomForestClassifier
8
  import matplotlib.pyplot as plt
9
+
10
 
11
  # Load pre-trained model and scaler
12
  with open('scalers.pkl', 'rb') as scaler_file:
 
70
  initial_sidebar_state="collapsed"
71
  )
72
 
 
 
 
 
 
 
73
  # Sidebar - User input fields
74
  st.sidebar.title("Input Parameters")
75
  user_input = {}