Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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:
|