Vineedhar commited on
Commit
85d1482
·
verified ·
1 Parent(s): 6d95509

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -166,7 +166,7 @@ if uploaded_file is not None:
166
  other_colleague['Other_colleague_score'] = other_colleague['Dimensions'].map(mappings['Other_colleague_score'])
167
 
168
  boss.sort_values(by = 'Boss_score', ascending = False)
169
- boss_json = boss.iloc[:3,1:].to_dict(orient='records')
170
  prompt = f"You are a corporate trainer who guides me how to behave in corporate settings. You will analyze the top 3 strengths and scores{boss_json} rated by my boss out of 6. You will generate a nudge for each dimension to improveupon these strengths."
171
 
172
  st.write("## Output:")
 
166
  other_colleague['Other_colleague_score'] = other_colleague['Dimensions'].map(mappings['Other_colleague_score'])
167
 
168
  boss.sort_values(by = 'Boss_score', ascending = False)
169
+ boss_json = boss.iloc[:,1:].head(3).to_dict(orient='records')
170
  prompt = f"You are a corporate trainer who guides me how to behave in corporate settings. You will analyze the top 3 strengths and scores{boss_json} rated by my boss out of 6. You will generate a nudge for each dimension to improveupon these strengths."
171
 
172
  st.write("## Output:")