Update app.py
Browse files
app.py
CHANGED
|
@@ -155,7 +155,7 @@ if submitted or 'dictee' in st.session_state:
|
|
| 155 |
with st.spinner("🤖 Dictée en cours de correction..."):
|
| 156 |
st.session_state.correction = correction_dictee(dictee, dictee_user)
|
| 157 |
|
| 158 |
-
if st.session_state
|
| 159 |
st.markdown("### 🎉 Voici la correction (*Par IA*) :")
|
| 160 |
st.markdown(st.session_state.correction)
|
| 161 |
|
|
|
|
| 155 |
with st.spinner("🤖 Dictée en cours de correction..."):
|
| 156 |
st.session_state.correction = correction_dictee(dictee, dictee_user)
|
| 157 |
|
| 158 |
+
if 'correction' in st.session_state:
|
| 159 |
st.markdown("### 🎉 Voici la correction (*Par IA*) :")
|
| 160 |
st.markdown(st.session_state.correction)
|
| 161 |
|