rasmodev commited on
Commit
06b2738
·
1 Parent(s): d47c95d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -53,10 +53,8 @@ train_df = pd.read_csv("Train.csv", index_col=None)
53
 
54
  # Training Dataset Information in the sidebar
55
  st.sidebar.markdown("📊 **Training Dataset Information:**")
56
- st.sidebar.write(
57
- "The model is trained on a sepsis dataset. Here's an overview of the dataset:"
58
- )
59
- st.sidebar.write(train_df.head())
60
 
61
  # Load the model and key components
62
  with open('model_and_key_components.pkl', 'rb') as file:
 
53
 
54
  # Training Dataset Information in the sidebar
55
  st.sidebar.markdown("📊 **Training Dataset Information:**")
56
+ st.sidebar.text("The model is trained on a sepsis dataset. Here's an overview of the dataset:")
57
+ st.sidebar.text(train_df.head().to_string(index=False))
 
 
58
 
59
  # Load the model and key components
60
  with open('model_and_key_components.pkl', 'rb') as file: