You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'|' should be OK (shorthand for merging dicts), only it seems it was add in Python 3.9, so that error probably means that you use an older Python version. If we want compatibility we need to change it to create a new dict and add all the other ones explicitly.
cltl/emotion_responder/emotion_sentences.py", line 96, in
_RESPONSES = _GO_RESPONSES | _EKMAN_RESPONSES | _SENTIMENT_RESPONSES | _FACE_RESPONSES
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'
At line 96 it is written:
_RESPONSES = _GO_RESPONSES | _EKMAN_RESPONSES | _SENTIMENT_RESPONSES | _FACE_RESPONSES
I fixed it by changing “|” by “and” or should it be “or”?
The text was updated successfully, but these errors were encountered: