kdevoe commited on
Commit
feba2cc
1 Parent(s): cb92ead

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ text = "Here is a sample essay."
19
  user_input = st.text_area("Enter your essay here:", value=text)
20
 
21
  if st.button("Calculate Scores"):
22
- out = inference(user_input)
23
  scores_df = pd.DataFrame([scores], index=['Score'])
24
  st.table(scored_df)
25
  st.write(out)
 
19
  user_input = st.text_area("Enter your essay here:", value=text)
20
 
21
  if st.button("Calculate Scores"):
22
+ scores = inference(user_input)
23
  scores_df = pd.DataFrame([scores], index=['Score'])
24
  st.table(scored_df)
25
  st.write(out)