mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-30 09:28:51 +00:00
Enhance
This commit is contained in:
parent
094990e818
commit
5af8f77379
@ -150,7 +150,8 @@ def write_story_section(prompt_ideas: str, llm: Any, story_file_path: str, story
|
||||
f"{start_header_id_template}story_section_writer{end_header_id_template}"
|
||||
]
|
||||
)
|
||||
new_section = llm.fast_gen(prompt).strip()
|
||||
new_section = f"## {current_section}\n\n"
|
||||
new_section += llm.fast_gen(prompt).strip()
|
||||
|
||||
# Append the new section to the story file
|
||||
story_path.write_text(story_content + "\n" + new_section)
|
||||
|
Loading…
Reference in New Issue
Block a user