CASLL commited on
Commit
ecf93cb
1 Parent(s): 4975df3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,6 +11,7 @@ title = st.title("Tradutor FR to EN")
11
  txt = st.text_area("Setença para traduzir:",)
12
 
13
  if st.button("Traduzir"):
14
- translation = translator(txt)
 
15
  print(translation[0]['translation_text'])
16
 
 
11
  txt = st.text_area("Setença para traduzir:",)
12
 
13
  if st.button("Traduzir"):
14
+ fr_txt = txt
15
+ translation = translator(fr_txt)
16
  print(translation[0]['translation_text'])
17