Sabina Muratova commited on
Commit
0c83c27
·
1 Parent(s): 5829f7c
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  import streamlit as st
2
  from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
3
 
@@ -42,3 +46,4 @@ if st.button("Translate"):
42
  else:
43
  st.info("Enter text and click 'Translate' to see the result.")
44
 
 
 
1
+ import os
2
+ os.system("pip install sentencepiece")
3
+
4
+
5
  import streamlit as st
6
  from transformers import pipeline, AutoTokenizer, AutoModelForSeq2SeqLM
7
 
 
46
  else:
47
  st.info("Enter text and click 'Translate' to see the result.")
48
 
49
+