From c2bf07e7cc7cd64ac402b698749ff2da42c6fe71 Mon Sep 17 00:00:00 2001 From: "Corian (Cory) Kennedy" Date: Mon, 8 May 2023 10:16:37 -0500 Subject: [PATCH] Update sscGPT.py --- tools/sscGPT/sscGPT.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/sscGPT/sscGPT.py b/tools/sscGPT/sscGPT.py index 2f28f05..8d5ec23 100644 --- a/tools/sscGPT/sscGPT.py +++ b/tools/sscGPT/sscGPT.py @@ -326,9 +326,9 @@ def parse_html_to_text(html_content): stop=None, temperature=temperature, ) - generated_text_chunks.append(response.choices[0].text.strip()) - generated_text = "\n".join(generated_text_chunks) - st.write(generated_text) + generated_text_chunks.append(response.choices[0].text.strip()) + generated_text = "\n".join(generated_text_chunks) + st.write(generated_text) if generated_text: # Create a zip file to store the generated text zip_file = io.BytesIO()