legal-ai-actions / pages /7_✍️_Draft_Demo.py
Uwais's picture
adding analytics
3087373
raw
history blame
792 Bytes
import os
import streamlit as st
import streamlit_analytics
from utils import add_logo_to_sidebar, add_footer, add_email_signup_form
streamlit_analytics.start_tracking()
st.set_page_config(
page_title="Draft Demo",
page_icon="✍️",
layout="wide",
initial_sidebar_state="expanded",
menu_items={
'Get Help': 'mailto:[email protected]',
'Report a bug': None,
'About': "## This a demo showcasing different Legal AI Actions"
}
)
add_logo_to_sidebar()
st.sidebar.success("👆 Select a demo above.")
st.title('✍️ Draft Demo')
st.markdown("🏗 This demo is currently under construction. Please visit back soon.")
add_email_signup_form()
add_footer()
streamlit_analytics.stop_tracking(unsafe_password=os.environ["ANALYTICS_PASSWORD"])