Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ model = T5ForConditionalGeneration.from_pretrained(model_name)
|
|
9 |
|
10 |
# Create the app layout
|
11 |
st.title("Text Translation App")
|
12 |
-
|
13 |
submit_button = st.button("Translate")
|
14 |
translated_text = st.text("")
|
15 |
|
|
|
9 |
|
10 |
# Create the app layout
|
11 |
st.title("Text Translation App")
|
12 |
+
input_text = st.text_input("Enter text to translate:")
|
13 |
submit_button = st.button("Translate")
|
14 |
translated_text = st.text("")
|
15 |
|