Thanatcha commited on
Commit
bfb8b5a
·
1 Parent(s): b5f02eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,10 +3,10 @@ from transformers import pipeline
3
 
4
  classifier = pipeline("translation", model="Helsinki-NLP/opus-mt-th-en")
5
  def main():
6
- st.title("Yelp review")
7
 
8
  with st.form("text_field"):
9
- text = st.text_area('enter some text:')
10
  # clicked==True only when the button is clicked
11
  clicked = st.form_submit_button("Submit")
12
  if clicked:
 
3
 
4
  classifier = pipeline("translation", model="Helsinki-NLP/opus-mt-th-en")
5
  def main():
6
+ st.title("Translation Thai to Eng")
7
 
8
  with st.form("text_field"):
9
+ text = st.text_area('enter some Thai text:')
10
  # clicked==True only when the button is clicked
11
  clicked = st.form_submit_button("Submit")
12
  if clicked: