JessicaTH commited on
Commit
f62972a
·
verified ·
1 Parent(s): 1e0ec75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -115,6 +115,8 @@ with col1:
115
  value=st.session_state.text_to_translate,
116
  height=200,
117
  placeholder="Entrez un texte ici",
 
 
118
  )
119
 
120
 
 
115
  value=st.session_state.text_to_translate,
116
  height=200,
117
  placeholder="Entrez un texte ici",
118
+ on_change=st.session_state.text_translation
119
+ key="st.session_state.text_translation"
120
  )
121
 
122