Update app.py
Browse files
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 |
-
|
| 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)
|