Skip to content

Commit

Permalink
Update catalog_manager.py (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaunwei authored Oct 3, 2023
1 parent 447e36b commit a6770a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion realtime_ai_character/character_catalog/catalog_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def load_character(self, directory):

character_id = yaml_content['character_id']
character_name = yaml_content['character_name']
voice_id = yaml_content['voice_id']
voice_id = str(yaml_content['voice_id'])
if (os.getenv(character_id.upper() + "_VOICE_ID", "")):
voice_id = os.getenv(character_id.upper() + "_VOICE_ID")
self.characters[character_id] = Character(
Expand Down

0 comments on commit a6770a5

Please sign in to comment.