rasmodev commited on
Commit
c317fae
·
1 Parent(s): 8462b3a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -50,6 +50,15 @@ st.sidebar.info(
50
  "It uses a machine learning model trained on a dataset of sepsis cases."
51
  )
52
 
 
 
 
 
 
 
 
 
 
53
  # Load the model and key components
54
  with open('model_and_key_components.pkl', 'rb') as file:
55
  loaded_components = pickle.load(file)
 
50
  "It uses a machine learning model trained on a dataset of sepsis cases."
51
  )
52
 
53
+ # Load The Train Dataset
54
+ train_df = pd.read_csv("Paitients_Files_Train.csv")
55
+
56
+ # Training Dataset Information
57
+ st.markdown("📊 **Training Dataset Information:**")
58
+ st.write(f"The training dataset used for building the machine learning model is loaded from the file 'Patients_Files_Train.csv'.")
59
+ st.write("Here is a snapshot of the training dataset:")
60
+ st.write(train_df.head())
61
+
62
  # Load the model and key components
63
  with open('model_and_key_components.pkl', 'rb') as file:
64
  loaded_components = pickle.load(file)