Skip to content

Commit

Permalink
So you don't like square brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
lunjielee committed Jun 10, 2023
1 parent cee3e7e commit 9428f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPTResponder.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def respond_to_transcriber(self, transcriber):
for data in chatbot.ask(
create_prompt(transcript_string)
):
response = data["message"]
response = data["message"].split('[')[1].split(']')[0]
else:
response = generate_response_from_transcript(transcript_string)

Expand Down

0 comments on commit 9428f3c

Please sign in to comment.