Vineedhar commited on
Commit
1f3c3d3
·
verified ·
1 Parent(s): 9d4b23e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -4
app.py CHANGED
@@ -98,9 +98,17 @@ if uploaded_file is not None:
98
 
99
  df_combined['Self_score'] = df_combined.apply(calculate_self_score, axis=1)
100
 
101
- # Display the resultant DataFrame
102
- st.text("## Output:")
103
- st.text("#### 1. Extracted data: Dimensions Assessment of the leader by: Boss, Colleagues, Colleagues (other b.), Direct reports, Customers and All Raters")
104
- st.text("#### 2. Derived data: Self score")
105
 
 
 
 
 
 
 
 
 
 
106
  st.dataframe(df_combined)
 
98
 
99
  df_combined['Self_score'] = df_combined.apply(calculate_self_score, axis=1)
100
 
101
+ output_placeholder = st.empty()
102
+ description_placeholder1 = st.empty()
103
+ description_placeholder2 = st.empty()
 
104
 
105
+ # Display the first three lines immediately
106
+ description_placeholder1.text("#### 1. Extracted data: Dimensions Assessment of the leader by: Boss, Colleagues, Colleagues (other b.), Direct reports, Customers and All Raters")
107
+ description_placeholder2.text("#### 2. Derived data: Self score")
108
+
109
+ # Run the model (add your model code here)
110
+
111
+ # Display the resultant DataFrame after the model is run
112
+ output_placeholder.text("## Output:")
113
+ st.write("### Extracted Dataset")
114
  st.dataframe(df_combined)