Streamlit app to use the OpenAI API to generate images with DALL·E
Inside your Python environment, install all requirements with
pip install -r requirements.txt
To use the OpenAI API, an API key is needed, which you can create here: https://platform.openai.com/account/api-keys
Once you have your key, include it in the streamlit/secrets.toml
file instead of the placeholder.
In your terminal, simply execute
streamlit run streamlit_app.py