Spaces:
Build error
Build error
Update app.py
Browse files
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}")
|