SEO / app.py
AnalysisWithMSR's picture
Update app.py
fba5edb verified
raw
history blame
250 Bytes
import os
# Fetch the API key from the environment
openai_api_key = os.getenv("OPENAI_API_KEY")
# Check if the key is set and print accordingly
if youtube_api_key:
print("YOUTUBE_API_KEY is set.")
else:
print("YOUTUBE_API_KEY is not set.")