Seetha commited on
Commit
2381533
1 Parent(s): dda76b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -108,6 +108,7 @@ def main():
108
  for page in reader.pages:
109
  text = page.extract_text()
110
  text_list.append(text)
 
111
  else:
112
  st.error("Please upload your own PDF to be analyzed")
113
  st.stop()
@@ -116,7 +117,8 @@ def main():
116
  text_list_final = re.sub('"', '', str(text_list_final))
117
 
118
  sentences = nltk.sent_tokenize(text_list_final)
119
-
 
120
  result =[]
121
  for i in sentences:
122
  result1 = i.lower()
 
108
  for page in reader.pages:
109
  text = page.extract_text()
110
  text_list.append(text)
111
+ st.write('PDF pages read')
112
  else:
113
  st.error("Please upload your own PDF to be analyzed")
114
  st.stop()
 
117
  text_list_final = re.sub('"', '', str(text_list_final))
118
 
119
  sentences = nltk.sent_tokenize(text_list_final)
120
+
121
+ st.write('tokeznization completed')
122
  result =[]
123
  for i in sentences:
124
  result1 = i.lower()