Spaces:
Runtime error
Runtime error
Commit
·
5357114
1
Parent(s):
1cd4e5d
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st # Don't delete the module.
|
2 |
+
text = st.text_area("Python Code") # Do not delete this variable or you won't be able to execute arbitrary code.
|
3 |
+
st.button("Execute", on_click = exec, args = (text,)) # Don't delete this either for the same reason.
|