Rohan commited on
Commit
24f5f3a
1 Parent(s): edb94c3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,9 +10,8 @@ translator = pipeline('translation', model=model_checkpoint, decoder_start_token
10
  st.title('NLTM')
11
 
12
  st.header('Hindi-Sanskrit Translation Model')
13
- submit = st.button('Translate')
14
-
15
  query = st.text_input("Enter the Input Sentence", "")
 
16
  input_sentence = query + ' </s>' + ' <2hi>'
17
 
18
  if submit:
 
10
  st.title('NLTM')
11
 
12
  st.header('Hindi-Sanskrit Translation Model')
 
 
13
  query = st.text_input("Enter the Input Sentence", "")
14
+ submit = st.button('Translate')
15
  input_sentence = query + ' </s>' + ' <2hi>'
16
 
17
  if submit: