Spaces:
Runtime error
Runtime error
Vignesh1997
commited on
Commit
•
9d5b6df
1
Parent(s):
8e3c679
Update app.py
Browse files
app.py
CHANGED
@@ -216,6 +216,8 @@ if st.button("Run"):
|
|
216 |
)[0]
|
217 |
|
218 |
time_end = time.time()
|
|
|
|
|
219 |
alignments = find_algnments(user_input, translated_text, bert_tokenizer, bert_model)
|
220 |
for string in alignments:
|
221 |
st.success(string)
|
|
|
216 |
)[0]
|
217 |
|
218 |
time_end = time.time()
|
219 |
+
st.success(f"Source sentence {user_input}")
|
220 |
+
st.success(f"Translated sentence{translated_text}")
|
221 |
alignments = find_algnments(user_input, translated_text, bert_tokenizer, bert_model)
|
222 |
for string in alignments:
|
223 |
st.success(string)
|