Morris
commited on
Commit
·
4c02659
1
Parent(s):
c0e0cb4
update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ if st.session_state.ind:
|
|
25 |
st.write(question)
|
26 |
st.text_input("Write your answer here", key='student_answer')
|
27 |
|
28 |
-
if student_answer:
|
29 |
text = st.session_state.student_answer + '</s>' + answer
|
30 |
res = pipe(text)[0]['label']
|
31 |
if res == 'correct_answer':
|
|
|
25 |
st.write(question)
|
26 |
st.text_input("Write your answer here", key='student_answer')
|
27 |
|
28 |
+
if st.session_state.student_answer:
|
29 |
text = st.session_state.student_answer + '</s>' + answer
|
30 |
res = pipe(text)[0]['label']
|
31 |
if res == 'correct_answer':
|