Spaces:
Sleeping
Sleeping
Update app.py
Browse files27 unmodified lines282930313132333427 unmodified lines text = pageObj.extract_text().strip() # Extract text from the page if text: # Split text into chunks of approximately 'chunk_size' words words = text.split(".").strip() words = text.split(".") for j in range(0, len(words)): if words[j]: chunk = (words[j]).strip()app.py+1-1