yeshpanovrustem commited on
Commit
3a514c9
β€’
1 Parent(s): 2dd0e89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import transformers
3
 
4
  # use @st.cache decorator to cache model β€” because it is too large, we do not want to reload it every time
5
  # use allow_output_mutation = True to tell streamlit that model should be treated as immutable object β€” singleton
6
- @st.cache(allow_output_mutation = True)
7
 
8
  # load model and tokenizer
9
  tokenizer = transformers.AutoTokenizer.from_pretrained("yeshpanovrustem/xlm-roberta-large-ner-kazakh")
 
3
 
4
  # use @st.cache decorator to cache model β€” because it is too large, we do not want to reload it every time
5
  # use allow_output_mutation = True to tell streamlit that model should be treated as immutable object β€” singleton
6
+ # @st.cache(allow_output_mutation = True)
7
 
8
  # load model and tokenizer
9
  tokenizer = transformers.AutoTokenizer.from_pretrained("yeshpanovrustem/xlm-roberta-large-ner-kazakh")