diff --git a/mind_palace/app.py b/mind_palace/app.py index 2db9e49..3a224ff 100644 --- a/mind_palace/app.py +++ b/mind_palace/app.py @@ -1,3 +1,5 @@ +import logging + import extract import index import openai @@ -15,6 +17,9 @@ def is_production_env(): return "app_env" in st.secrets.keys() and st.secrets.app_env == "production" +if not is_production_env(): + logging.basicConfig(level=logging.INFO) + itune = Tune( strategy=MultiArmedBandit(), only_choose_winning_params=is_production_env(),