Spaces:
Runtime error
Runtime error
SK Md Shahid
commited on
Update app.py
Browse filesAdded submit button
app.py
CHANGED
@@ -10,6 +10,7 @@ st.title("English to Bengali Translation")
|
|
10 |
|
11 |
# User input
|
12 |
english_text = st.text_area("Enter English text:", "")
|
|
|
13 |
|
14 |
if english_text:
|
15 |
# Encode the text and generate translation
|
@@ -20,4 +21,4 @@ if english_text:
|
|
20 |
# Display the translation
|
21 |
st.write("Bengali Translation:")
|
22 |
st.write(bengali_translation)
|
23 |
-
|
|
|
10 |
|
11 |
# User input
|
12 |
english_text = st.text_area("Enter English text:", "")
|
13 |
+
st.button("Submit")
|
14 |
|
15 |
if english_text:
|
16 |
# Encode the text and generate translation
|
|
|
21 |
# Display the translation
|
22 |
st.write("Bengali Translation:")
|
23 |
st.write(bengali_translation)
|
24 |
+
st.caption("Made with ❤ ")
|