jonACE commited on
Commit
48fb300
·
verified ·
1 Parent(s): 53daa68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def preprocess_text(text):
11
  """Basic text preprocessing"""
12
  return re.sub(r"\s+", " ", text).strip()
13
 
14
- pdf_text = extract_text_from_pdf("your_document.pdf")
15
  clean_text = preprocess_text(pdf_text)
16
 
17
  from datasets import Dataset
 
11
  """Basic text preprocessing"""
12
  return re.sub(r"\s+", " ", text).strip()
13
 
14
+ pdf_text = extract_text_from_pdf("new-american-standard-bible.pdf")
15
  clean_text = preprocess_text(pdf_text)
16
 
17
  from datasets import Dataset