yeshpanovrustem commited on
Commit
a4366fd
·
1 Parent(s): 50337de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -4,6 +4,8 @@ from transformers import AutoTokenizer, AutoModelForTokenClassification, pipelin
4
  import streamlit as st
5
  import torch
6
 
 
 
7
  # add the caching decorator and use custom text for spinner
8
  @st.cache_resource(show_spinner = "Loading the model...")
9
 
 
4
  import streamlit as st
5
  import torch
6
 
7
+ nltk.download('punkt')
8
+
9
  # add the caching decorator and use custom text for spinner
10
  @st.cache_resource(show_spinner = "Loading the model...")
11