Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
from transformers import T5Tokenizer, T5ForConditionalGeneration, AutoTokenizer, AutoModelForSeq2SeqLM
|
| 3 |
|
| 4 |
# Create the app layout
|
| 5 |
-
st.
|
| 6 |
input_text = st.text_input("Enter text to translate:")
|
| 7 |
# Create a list of options for the select box
|
| 8 |
options = ["German", "Romanian", "English", "French", "Spanish"]
|
|
|
|
| 2 |
from transformers import T5Tokenizer, T5ForConditionalGeneration, AutoTokenizer, AutoModelForSeq2SeqLM
|
| 3 |
|
| 4 |
# Create the app layout
|
| 5 |
+
st.header("Text Machine Translation")
|
| 6 |
input_text = st.text_input("Enter text to translate:")
|
| 7 |
# Create a list of options for the select box
|
| 8 |
options = ["German", "Romanian", "English", "French", "Spanish"]
|