Assist in crafting a Streamlit application that leverages Open AI's Code Interpreter API to dynamically generate Python code in response to user inputs.