From 9f3b2f606dd2e3b7a8f2b6054e15cde635cda1a5 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Sat, 1 Jun 2024 21:28:50 +0200 Subject: [PATCH] fix --- lollms/functions/story_writing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lollms/functions/story_writing.py b/lollms/functions/story_writing.py index 4b9066c..34f995e 100644 --- a/lollms/functions/story_writing.py +++ b/lollms/functions/story_writing.py @@ -67,7 +67,7 @@ def start_writing_story(prompt_ideas: str, llm: Any, story_file_path: str, build final_story_content = "" for section in story_plan["sections"]: - llm.step_start(f"Building section: {section["section_name"]}") + llm.step_start(f'Building section: {section["section_name"]}') section_name = section["section_name"] section_description = section["section_description"] @@ -81,7 +81,7 @@ def start_writing_story(prompt_ideas: str, llm: Any, story_file_path: str, build ) final_story_content += f"\n## {section_name}\n\n{new_section}\n" - llm.step_end(f"Building section: {section["section_name"]}") + llm.step_end(f'Building section: {section["section_name"]}') if build_latex: llm.step_start("Building latex file")