Skip to content

Commit

Permalink
fix: force overriding environment variables from .env files (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamsea authored and chadbailey59 committed Apr 2, 2024
1 parent 77a943c commit 65effbe
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion examples/foundational/01-say-one-thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/02-llm-say-one-thing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/03-still-frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/04-utterance-and-speech.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/05-sync-speech-and-image.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/06-listen-and-respond.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/06a-image-sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/07-interruptible.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/08-bots-arguing.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/10-wake-word.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/11-sound-effects.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/foundational/13-whisper-transcription.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/internal/11a-dial-out.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

sounds = {}
sound_files = [
Expand Down
2 changes: 1 addition & 1 deletion examples/server/daily-bot-manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from auth import get_meeting_token

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

app = Flask(__name__)
CORS(app)
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/patient-intake.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format="%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/storybot.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down
2 changes: 1 addition & 1 deletion examples/starter-apps/translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from runner import configure

from dotenv import load_dotenv
load_dotenv()
load_dotenv(override=True)

logging.basicConfig(format=f"%(levelno)s %(asctime)s %(message)s")
logger = logging.getLogger("dailyai")
Expand Down

0 comments on commit 65effbe

Please sign in to comment.