GPT-4 API Failing with “Connection error” on Paid CPU and Free tier CPU — Worked 2 Days Ago

It seems that there is an SSL issue when using OpenAI from HF Spaces…:sweat_smile: @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