mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
14 lines
256 B
Python
14 lines
256 B
Python
|
from enum import Enum, auto
|
||
|
|
||
|
|
||
|
class Emotion(Enum):
|
||
|
HAPPY = auto()
|
||
|
SAD = auto()
|
||
|
ANGRY = auto()
|
||
|
|
||
|
def __str__(self):
|
||
|
return self.name
|
||
|
|
||
|
def __repr__(self):
|
||
|
return f"<{self.__class__.__qualname__} {self.name}: {self.value}>"
|