| """Streamlit UI entry point for the Newline Fixer service.""" | |
| import streamlit as st | |
| st.set_page_config(initial_sidebar_state="collapsed") | |
| st.markdown( | |
| """ | |
| <style> | |
| [data-testid="collapsedControl"] { display: none; } | |
| </style> | |
| """, | |
| unsafe_allow_html=True, | |
| ) | |
| home = st.Page("pages/home.py", title="Home", default=True) | |
| config = st.Page("pages/config.py", title="Config") | |
| result = st.Page("pages/result.py", title="Result") | |
| pg = st.navigation([home, config, result], position="hidden") | |
| pg.run() | |