OpenAI error in when it comes to install

The traceback in the screenshot makes clear what the error is. For openai==0.0.2:

This package is a placeholder on the public PyPi instance, and is not the correct version to install

The version of openai getting installed is just an obsolete placeholder and not a real package. You need to pin a more recent version in your requirements, such as openai==0.25.0

Happy Streamlit-ing! :balloon:

Going forward, please follow our guidelines on posting an effective question and include relevant information that will help the community debug your issue. That includes links to your GitHub repo, app, and the contents of your requirements file.