wjjessen commited on
Commit
698ca24
·
1 Parent(s): b2d65e0

Test sys.stdout.write

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- print("\n###### New article ######\n")
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...")