SK Md Shahid commited on
Commit
7d452ce
·
unverified ·
1 Parent(s): 091773c

Update app.py

Browse files

Added submit button

Files changed (1) hide show
  1. app.py +2 -1
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 ❤ ")