Spaces:
Runtime error
Runtime error
Commit
·
9ee2d52
1
Parent(s):
b4d438a
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def pdf_to_text(file_path, start_page=1, end_page=None):
|
|
36 |
|
37 |
doc.close()
|
38 |
return text_list
|
39 |
-
|
40 |
|
41 |
def text_to_chunks(texts, word_length=150, start_page=1):
|
42 |
text_toks = [(file_name, t.split(' ')) for file_name, t in texts]
|
|
|
36 |
|
37 |
doc.close()
|
38 |
return text_list
|
39 |
+
|
40 |
|
41 |
def text_to_chunks(texts, word_length=150, start_page=1):
|
42 |
text_toks = [(file_name, t.split(' ')) for file_name, t in texts]
|