From b8e041d13376621e13a0329ba0b9ec466736bebf Mon Sep 17 00:00:00 2001 From: gopps95 Date: Tue, 19 Mar 2024 22:39:45 +0530 Subject: [PATCH] added greetings --- greetings.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 greetings.py diff --git a/greetings.py b/greetings.py new file mode 100644 index 0000000..960107d --- /dev/null +++ b/greetings.py @@ -0,0 +1,7 @@ +import streamlit as st + +st.title("DialogDroid") +st.write("Your new virtual assistant") +name = st.text_input(label="",placeholder="Enter your name", max_chars=50) +if st.button('Submit'): + st.write('Hi ' + name + ". How can I assist you today ?")