It seems that there is an SSL issue when using OpenAI from HF Spaces… @meganariley @pierric @Wauplin
/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.openai.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
Connected to https://api.openai.com, but the server returned an error. Status code: 421