Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ st.title("Text Translation")
|
|
8 |
input_text = st.text_input("Enter text to translate:")
|
9 |
# Create a list of options for the select box
|
10 |
options = ["English", "Romanian", "German", "French", "Spanish"]
|
11 |
-
models = ["t5-base", "t5-small", "opus-mt-en-ro"]
|
12 |
# Create the select box
|
13 |
sselected_language = st.selectbox("Select a source language:", options)
|
14 |
tselected_language = st.selectbox("Select a target language:", options)
|
|
|
8 |
input_text = st.text_input("Enter text to translate:")
|
9 |
# Create a list of options for the select box
|
10 |
options = ["English", "Romanian", "German", "French", "Spanish"]
|
11 |
+
models = ["t5-base", "t5-small", "t5-large", "opus-mt-en-ro"]
|
12 |
# Create the select box
|
13 |
sselected_language = st.selectbox("Select a source language:", options)
|
14 |
tselected_language = st.selectbox("Select a target language:", options)
|