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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -149,14 +149,12 @@ if submitted or 'dictee' in st.session_state:
149
  st.audio(url, format='audio/wav')
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*) :")
160
  st.markdown(st.session_state.correction)
161
 
162
  elif mode.startswith("Entrainer"):
 
149
  st.audio(url, format='audio/wav')
150
 
151
  with col2:
152
+ dictee_user = st.text_area("Écrivez la dictée ici:", key="dictee_user")
153
+ if st.button("Correction", key="submit_correction"):
 
 
154
  st.session_state.correction = correction_dictee(dictee, dictee_user)
155
 
156
  if 'correction' in st.session_state:
157
+ st.markdown("### Voici la correction (*Par IA*) :")
158
  st.markdown(st.session_state.correction)
159
 
160
  elif mode.startswith("Entrainer"):