Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def text_to_chunks(texts, word_length=150, start_page=1):
|
|
71 |
text_len = text_len + word_count0(chunk)
|
72 |
if(text_len>10):
|
73 |
pdf_parse_status = 0
|
74 |
-
return [], pdf_parse_status
|
75 |
return chunks
|
76 |
|
77 |
|
|
|
71 |
text_len = text_len + word_count0(chunk)
|
72 |
if(text_len>10):
|
73 |
pdf_parse_status = 0
|
74 |
+
# return [], pdf_parse_status
|
75 |
return chunks
|
76 |
|
77 |
|