Update app.py
Browse files
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("
|
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
|