diff --git a/ streamlit_test1.py b/ streamlit_test1.py new file mode 100644 index 0000000..0533ae9 --- /dev/null +++ b/ streamlit_test1.py @@ -0,0 +1,8 @@ +import streamlit as st + +# Create a text input box +text_input = st.text_input("Enter some text:") +# Create a submit button + +if st.button("Submit"): + st.write("You've inputted:", text_input) \ No newline at end of file diff --git a/README.md b/README.md index efc9e8d..7e01b1f 100644 --- a/README.md +++ b/README.md @@ -1 +1 @@ -# python_labs \ No newline at end of file +# python_labs \ No newline at end of file diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..e75154b --- /dev/null +++ b/hello.py @@ -0,0 +1 @@ +print("hello world") \ No newline at end of file