dexay commited on
Commit
82607ad
·
1 Parent(s): 03c1a90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ import re
5
 
6
  import zipfile
7
  import postt
8
- from postt import postcor
9
  from transformers import pipeline, TokenClassificationPipeline, BertForTokenClassification , AutoTokenizer , TextClassificationPipeline , AutoModelForSequenceClassification
10
 
11
  st.set_page_config(layout="wide")
@@ -42,7 +42,7 @@ if submit and len(x) != 0:
42
  if x[-1] not in ".?:":
43
  x += "."
44
 
45
- biotext = x
46
 
47
  #split document or text into sentences
48
 
 
5
 
6
  import zipfile
7
  import postt
8
+ from postt import postcor , precor
9
  from transformers import pipeline, TokenClassificationPipeline, BertForTokenClassification , AutoTokenizer , TextClassificationPipeline , AutoModelForSequenceClassification
10
 
11
  st.set_page_config(layout="wide")
 
42
  if x[-1] not in ".?:":
43
  x += "."
44
 
45
+ biotext = precor(x)
46
 
47
  #split document or text into sentences
48