Update server.py
Browse files
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
|