Spaces:
Runtime error
Runtime error
Update pages/translation.py
Browse files- pages/translation.py +1 -1
pages/translation.py
CHANGED
@@ -24,7 +24,7 @@ def app():
|
|
24 |
with col2:
|
25 |
select_model = st.radio(
|
26 |
"Translate from English to:",
|
27 |
-
('France', 'German', '
|
28 |
if select_model == 'France':
|
29 |
model = 'Helsinki-NLP/opus-mt-en-fr'
|
30 |
elif select_model == 'German':
|
|
|
24 |
with col2:
|
25 |
select_model = st.radio(
|
26 |
"Translate from English to:",
|
27 |
+
('France', 'German', 'Spanish'), index = 0)
|
28 |
if select_model == 'France':
|
29 |
model = 'Helsinki-NLP/opus-mt-en-fr'
|
30 |
elif select_model == 'German':
|