Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def segmenter_texte(texte):
|
|
99 |
|
100 |
# Streamlit App Interface
|
101 |
st.set_page_config(layout="wide")
|
102 |
-
st.title('
|
103 |
|
104 |
if 'expanded' not in st.session_state:
|
105 |
st.session_state.expanded = True
|
@@ -149,7 +149,7 @@ if submitted or 'dictee' in st.session_state:
|
|
149 |
st.markdown("## ✍️ Votre Dictée")
|
150 |
dictee_user = st.text_area("Écrivez la dictée ici:", key="dictee_user")
|
151 |
if st.button("📝 Correction", key="submit_correction"):
|
152 |
-
st.spinner("🤖 Dictée en cours de correction...")
|
153 |
st.session_state.correction = correction_dictee(dictee, dictee_user)
|
154 |
|
155 |
if 'correction' in st.session_state:
|
|
|
99 |
|
100 |
# Streamlit App Interface
|
101 |
st.set_page_config(layout="wide")
|
102 |
+
st.title('🎓 Entrainement de Dictée')
|
103 |
|
104 |
if 'expanded' not in st.session_state:
|
105 |
st.session_state.expanded = True
|
|
|
149 |
st.markdown("## ✍️ Votre Dictée")
|
150 |
dictee_user = st.text_area("Écrivez la dictée ici:", key="dictee_user")
|
151 |
if st.button("📝 Correction", key="submit_correction"):
|
152 |
+
st.spinner("🤖 Dictée en cours de correction...")
|
153 |
st.session_state.correction = correction_dictee(dictee, dictee_user)
|
154 |
|
155 |
if 'correction' in st.session_state:
|