Skip to content

Commit

Permalink
Merge pull request #8 from clevaway/develop
Browse files Browse the repository at this point in the history
Fixed minor bug: chore(main.py): update load_dotenv() to use override=True to ensure e…
  • Loading branch information
FotieMConstant authored Apr 25, 2024
2 parents b369006 + fc01da9 commit 0502d35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from modules.introductions import run_introduction
from dotenv import load_dotenv

load_dotenv()
load_dotenv(override=True)

# from modules.command_executor import CommandExecutor
# from config.config import Config
Expand Down Expand Up @@ -43,7 +43,7 @@ def main():
# Load configuration
# config = Config()
# run intro
run_introduction()
# run_introduction()

while True:
# Listen for user input
Expand Down
2 changes: 1 addition & 1 deletion modules/text_to_speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from elevenlabs import generate, play
from dotenv import load_dotenv

load_dotenv()
load_dotenv(override=True)

ELEVENLABS_API_KEY = os.getenv('ELEVENLABS_API_KEY')
# print("ELEVENLABS_API_KEY => ", ELEVENLABS_API_KEY)
Expand Down

0 comments on commit 0502d35

Please sign in to comment.