-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hey Idk how long its been since anybody worked on this but..
Iris' outputs come out from the standalone turning apostrophes into "'".
I fixed this by adding
"import html"
and correcting the section "# Print and say the reply from the model" to the below.
EDIT: (The issue came back, perm fixed below)
def output_ai_reply(reply):
decoded_reply = html.unescape(reply)
decoded_again = decoded_reply.replace("'", "'")
decoded_final = decoded_again.replace("'", "'")
print("Iris:", decoded_final)
tts_inst.speak(decoded_final)
Metadata
Metadata
Assignees
Labels
No labels