elanuk commited on
Commit
14f6b85
·
verified ·
1 Parent(s): 630a124

Update server.py

Browse files
Files changed (1) hide show
  1. server.py +2 -0
server.py CHANGED
@@ -22,6 +22,8 @@ LOG_LEVEL = os.getenv("LOG_LEVEL", "INFO")
22
  logging.basicConfig(level=LOG_LEVEL)
23
  logger = logging.getLogger(__name__)
24
 
 
 
25
  app = FastAPI()
26
 
27
  # CORS middleware for frontend
 
22
  logging.basicConfig(level=LOG_LEVEL)
23
  logger = logging.getLogger(__name__)
24
 
25
+ print("OPENAI_API_KEY exists?", os.getenv("OPENAI_API_KEY") is not None)
26
+
27
  app = FastAPI()
28
 
29
  # CORS middleware for frontend