TiberiuCristianLeon commited on
Commit
00c276b
·
verified ·
1 Parent(s): 69e0d24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ st.title("Text Translation")
6
  input_text = st.text_input("Enter text to translate:")
7
  # Create a list of options for the select box
8
  options = ["English", "Romanian", "German", "French", "Spanish"]
9
- models = ["t5-base", "t5-small", "t5-large", "mt5-base", "Helsinki-NLP/opus-mt-de-ro"]
10
  # Create the select box
11
  sselected_language = st.selectbox("Select a source language:", options)
12
  tselected_language = st.selectbox("Select a target language:", options)
 
6
  input_text = st.text_input("Enter text to translate:")
7
  # Create a list of options for the select box
8
  options = ["English", "Romanian", "German", "French", "Spanish"]
9
+ models = ["t5-base", "t5-small", "t5-large", "google/mt5-base", "helsinki-nlp/opus-mt-de-ro"]
10
  # Create the select box
11
  sselected_language = st.selectbox("Select a source language:", options)
12
  tselected_language = st.selectbox("Select a target language:", options)