Spaces:
Sleeping
Sleeping
Update app.py
Browse files27 unmodified lines2829303132333427 unmodified lines# Split text into wordswords = text.split()processed_text = ""chapter_counter = 1 # Initialize chapter counterfor i, word in enumerate(words):# Check if the word is a title (e.g., Mr., Mrs.)27 unmodified lines2829303132333427 unmodified lines# Split text into wordswords = text.split()processed_text = ""chapter_counter = 3 # Initialize chapter counterfor i, word in enumerate(words):# Check if the word is a title (e.g., Mr., Mrs.)
app.py+1-1