Skip to content

Commit

Permalink
Move print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-doerr committed Jul 13, 2022
1 parent b3a03ee commit 8c28f30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,12 @@ def initialize_openai_api():
completion_all = completion_all.strip()[:-1]

completion_all += completion
print("completion_all:", completion_all)
# print("completion_all:", completion_all)
# response_text_field.text(completion_all)
response_text_field.markdown(completion_all)
if next_response['choices'][0]['finish_reason']:
break

print("completion_all:", completion_all)


0 comments on commit 8c28f30

Please sign in to comment.