Lenylvt commited on
Commit
4e29786
·
verified ·
1 Parent(s): 79f241c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -150,10 +150,10 @@ if submitted or 'dictee' in st.session_state:
150
 
151
  with col2:
152
  st.markdown("## ✍️ Votre Dictée")
153
- dictee_user = st.text_area("Écrivez la dictée ici:", key="dictee_user")
154
  if st.button("📝 Correction", key="submit_correction"):
155
- 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*) :")
 
150
 
151
  with col2:
152
  st.markdown("## ✍️ Votre Dictée")
153
+ dictee_user = st.text_area("Écrivez la dictée ici:", key="dictee_user", height=1000)
154
  if st.button("📝 Correction", key="submit_correction"):
155
+ st.spinner(text="🤖 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*) :")