Found error when deploying the app but works fine on localhost

Hi Streamlit,

The error is shown below.

How can I fix it?

Best,

Jacky

The usual approach is to add openai in the requirements.txt.

requirements.txt

openai