Update app.py
Browse files
app.py
CHANGED
|
@@ -51,13 +51,15 @@ st.sidebar.info(
|
|
| 51 |
)
|
| 52 |
|
| 53 |
# Load The Train Dataset
|
| 54 |
-
train_df = pd.read_csv("
|
| 55 |
|
| 56 |
-
# Training Dataset Information
|
| 57 |
-
st.markdown("📊 **Training Dataset Information:**")
|
| 58 |
-
st.write(
|
| 59 |
-
|
| 60 |
-
|
|
|
|
|
|
|
| 61 |
|
| 62 |
# Load the model and key components
|
| 63 |
with open('model_and_key_components.pkl', 'rb') as file:
|
|
|
|
| 51 |
)
|
| 52 |
|
| 53 |
# Load The Train Dataset
|
| 54 |
+
train_df = pd.read_csv("Patients_Files_Train.csv")
|
| 55 |
|
| 56 |
+
# Training Dataset Information in the sidebar
|
| 57 |
+
st.sidebar.markdown("📊 **Training Dataset Information:**")
|
| 58 |
+
st.sidebar.write(
|
| 59 |
+
"The training dataset used for building the machine learning model is loaded from the file 'Patients_Files_Train.csv'."
|
| 60 |
+
" Here is a snapshot of the training dataset:"
|
| 61 |
+
)
|
| 62 |
+
st.sidebar.write(train_df.head())
|
| 63 |
|
| 64 |
# Load the model and key components
|
| 65 |
with open('model_and_key_components.pkl', 'rb') as file:
|