Spaces:
Sleeping
Sleeping
File size: 992 Bytes
fe5faf3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
import streamlit as st
st.set_page_config(
page_title="NLP WEB APP"
)
def local_css(file_name):
with open(file_name) as f:
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
local_css("style/style.css")
st.title("CONTACT US")
st.sidebar.success("Select a page above")
with st.container():
st.write("-----")
st.header("Get in Touch with Me !")
st.write("##")
contact_form="""
<form action="https://formsubmit.co/cus146126@gmail.com" method="POST">
<input type="hidden" name="_captcha" value="false">
<input type="text" name="name" placeholder="Your name" required>
<input type="email" name="email" placeholder="Your email" required>
<textarea name="message" placeholder="Your message here ... " required></textarea>
<button type="submit">Send</button>
</form>
"""
left_col , right_col = st.columns(2)
with left_col:
st.markdown(contact_form, unsafe_allow_html=True)
with right_col:
st.empty() |