TOUNDE commited on
Commit
7cd95da
·
verified ·
1 Parent(s): 1220cb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ elif selected == 'Translate':
43
  "english - chinese": "https://api-inference.huggingface.co/models/Helsinki-NLP/opus-mt-en-zh",
44
  "english - german": "https://api-inference.huggingface.co/models/Helsinki-NLP/opus-mt-en-de"
45
  }
46
- languages = st.selectbox('Select input and translate languages', (list(translation_models.keys()))
47
  col3, col4 = st.columns(2)
48
  text_in = col3.text_area("", height=200, placeholder='type or paste the text you wish to translate.')
49
  #Boutton pour effectuer la traduction
 
43
  "english - chinese": "https://api-inference.huggingface.co/models/Helsinki-NLP/opus-mt-en-zh",
44
  "english - german": "https://api-inference.huggingface.co/models/Helsinki-NLP/opus-mt-en-de"
45
  }
46
+ languages = st.selectbox('Select input and translate languages', (list(translation_models.keys())))
47
  col3, col4 = st.columns(2)
48
  text_in = col3.text_area("", height=200, placeholder='type or paste the text you wish to translate.')
49
  #Boutton pour effectuer la traduction