Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def process_text(text):
|
|
28 |
# Split text into words
|
29 |
words = text.split()
|
30 |
processed_text = ""
|
31 |
-
chapter_counter =
|
32 |
|
33 |
for i, word in enumerate(words):
|
34 |
# Check if the word is a title (e.g., Mr., Mrs.)
|
|
|
28 |
# Split text into words
|
29 |
words = text.split()
|
30 |
processed_text = ""
|
31 |
+
chapter_counter = 3 # Initialize chapter counter
|
32 |
|
33 |
for i, word in enumerate(words):
|
34 |
# Check if the word is a title (e.g., Mr., Mrs.)
|