kdevoe commited on
Commit
92614db
·
verified ·
1 Parent(s): 95e1295

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ if st.button("Calculate Scores"):
19
  st.write(scores)
20
  st.write(categories)
21
  scores = [round(score * 2) / 2 for score in scores[0]]
22
- new_table = {categories[i]: scores[0][i] for i in range(len(categories))}
23
  scores_df = pd.DataFrame(new_table, index=['Score'])
24
  st.table(scores_df)
25
 
 
19
  st.write(scores)
20
  st.write(categories)
21
  scores = [round(score * 2) / 2 for score in scores[0]]
22
+ new_table = {categories[i]: scores[i] for i in range(len(categories))}
23
  scores_df = pd.DataFrame(new_table, index=['Score'])
24
  st.table(scores_df)
25