Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Update sscGPT.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NoDataFound authored May 8, 2023
1 parent f4841cd commit c2bf07e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/sscGPT/sscGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c2bf07e

Please sign in to comment.