Update app.py
Browse files
app.py
CHANGED
@@ -157,13 +157,13 @@ if submitted or 'dictee' in st.session_state:
|
|
157 |
|
158 |
with col2:
|
159 |
st.markdown("## ✍️ Votre Dictée")
|
160 |
-
dictee_user = st.text_area("Écrivez la dictée ici:", key="dictee_user")
|
161 |
if st.button("📝 Correction", key="submit_correction"):
|
162 |
with st.spinner("🤖 Dictée en cours de correction..."):
|
163 |
st.session_state.correction = correction_dictee(dictee, dictee_user)
|
164 |
|
165 |
if 'correction' in st.session_state:
|
166 |
-
st.
|
167 |
st.markdown("### 🎉 Voici la correction (*Par IA*) :")
|
168 |
st.markdown(st.session_state.correction)
|
169 |
|
|
|
157 |
|
158 |
with col2:
|
159 |
st.markdown("## ✍️ Votre Dictée")
|
160 |
+
dictee_user = st.text_area("Écrivez la dictée ici:", key="dictee_user", height=300)
|
161 |
if st.button("📝 Correction", key="submit_correction"):
|
162 |
with st.spinner("🤖 Dictée en cours de correction..."):
|
163 |
st.session_state.correction = correction_dictee(dictee, dictee_user)
|
164 |
|
165 |
if 'correction' in st.session_state:
|
166 |
+
st.markdown("---")
|
167 |
st.markdown("### 🎉 Voici la correction (*Par IA*) :")
|
168 |
st.markdown(st.session_state.correction)
|
169 |
|