diff --git a/uniquebible/util/LocalCliHandler.py b/uniquebible/util/LocalCliHandler.py index 5176f3757d..25e826ad0e 100644 --- a/uniquebible/util/LocalCliHandler.py +++ b/uniquebible/util/LocalCliHandler.py @@ -2769,6 +2769,7 @@ def startChat(): return "" def generateImage(self): + import openai # required openai.api_key = os.environ["OPENAI_API_KEY"] = config.openaiApiKey # optional