Skip to content

Commit

Permalink
Fixes openai key not set error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Torantulino authored Apr 3, 2023
1 parent 30f8ed9 commit aed8c5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def __init__(self):
print(f"openai_api_key: {self.openai_api_key}")
print(f"elevenlabs_api_key: {self.elevenlabs_api_key}")


# Initialize the OpenAI API client
openai.api_key = self.openai_api_key


def set_continuous_mode(self, value: bool):
Expand Down

0 comments on commit aed8c5b

Please sign in to comment.