Spaces:
Running
Running
Update app.py
Browse files
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
|