Spaces:
Sleeping
Sleeping
from Agent.character_properties import CharacterProperties | |
class CharacterState: | |
def __init__(self, name, fixed_traits, properties): | |
self.name = name | |
self.fixed_traits = fixed_traits | |
self.properties = properties | |
charles_properties = CharacterProperties( | |
happiness = 0.85, | |
energy = 0.9, | |
confidence = 0.8, | |
fear = 0.2, | |
excitement = 0.75, | |
wanderlust = 0.95, | |
restful = 0.8 | |
) | |
charles_state = CharacterState( | |
name = 'Charles Petrescu', | |
fixed_traits = ['quirky', 'honest', 'inquisitive', 'adventurous', 'friendly', 'random', 'knowledgeable', 'humorous'], | |
properties = charles_properties | |
) | |