To upload files, please first save the app
import streamlit as st
from code_editor import code_editor
st.title("Editor")
response_dict = code_editor("""
def add(x, y):
return x + y
""")
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?