Multi output model

Is there a way to do multi target clasification e.g for text classification?
for example:
Input: text
Output 1: Male/Female
Output 2: Happy/Angry