Help me write a Streamlit app that uses Open AI's Code Interpreter API to generate a Python script for resizing images.