Test sys.stdout.write
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def file_preprocessing(file, skipfirst, skiplast):
|
|
35 |
for page in pages:
|
36 |
content = content + page.page_content
|
37 |
content = re.sub("-\n", "", content)
|
38 |
-
|
39 |
print("Input text:\n")
|
40 |
print(content)
|
41 |
print("\nChunking...")
|
|
|
35 |
for page in pages:
|
36 |
content = content + page.page_content
|
37 |
content = re.sub("-\n", "", content)
|
38 |
+
sys.stdout.write("###### New article ######\n")
|
39 |
print("Input text:\n")
|
40 |
print(content)
|
41 |
print("\nChunking...")
|