jbpb123 commited on
Commit
d76049c
·
verified ·
1 Parent(s): f1c425f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -224,6 +224,9 @@ def format_story(storydata):
224
  print(f"## Chapter {ichapter}", end="")
225
  print(" ##" if chapter_title is None else f": {chapter_title} ##")
226
  print()
 
 
 
227
  if chapter_title is not None:
228
  output_lines.append(chapter_title)
229
  #_write_to_file(file, f"{description}")
 
224
  print(f"## Chapter {ichapter}", end="")
225
  print(" ##" if chapter_title is None else f": {chapter_title} ##")
226
  print()
227
+ output_lines.append(f"## Chapter {ichapter}")
228
+ output_lines.append(" ##" if chapter_title is None else f": {chapter_title} ##")
229
+ output_lines.append("")
230
  if chapter_title is not None:
231
  output_lines.append(chapter_title)
232
  #_write_to_file(file, f"{description}")