Skip to content

Commit 4ff13a8

Browse files
committed
Improve frontend UI: update app title, add dataset info box, remove redundant page headers
- Updated app title back to original with brain emoji - Added concise information box above dataset selector explaining what datasets are - Removed page headers from Explore Data and Settings tabs to save space - Enhanced page configuration with proper title and icon
1 parent e7b399f commit 4ff13a8

4 files changed

Lines changed: 9 additions & 7 deletions

File tree

frontend/app.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,14 @@ def initialize_session_state():
3535
initialize_session_state()
3636

3737
# Set the page layout to wide
38-
st.set_page_config(layout="wide")
38+
st.set_page_config(
39+
page_title="ARGUS - Document Intelligence Platform",
40+
page_icon="🧠",
41+
layout="wide"
42+
)
3943

4044
# Header
41-
st.header("ARGUS: Automated Retrieval and GPT Understanding System")
45+
st.header("🧠 ARGUS: Automated Retrieval and GPT Understanding System")
4246

4347
# Tabs navigation
4448
tabs = st.tabs(["🧠 Process Files", "🔎 Explore Data", "⚙️ Settings", "📋 Instructions"])

frontend/explore_data.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,6 @@ def explore_data_tab():
527527
extracted_df.insert(0, 'Select', False)
528528
extracted_df = extracted_df.sort_values(by='Request Timestamp', ascending=False)
529529

530-
st.header("Explore Data")
531-
532530
# Filters
533531
filter_col1, filter_col2, filter_col3 = st.columns([3, 1, 1])
534532

frontend/process_files.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ def update_configuration(config_data):
153153
def process_files_tab():
154154
col1, col2 = st.columns([0.5, 0.5])
155155
with col1:
156+
# Information box about datasets
157+
st.info("**📊 Datasets** are pre-configured profiles with custom AI prompts and schemas for different document types (invoices, contracts, etc.)")
158+
156159
# Fetch configuration from Cosmos DB
157160
config_data = fetch_configuration()
158161

frontend/settings.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
def settings_tab():
77
"""Combined settings tab for OpenAI configuration and concurrency settings"""
88

9-
st.markdown("## ⚙️ Settings")
10-
st.markdown("Configure OpenAI settings and processing concurrency for ARGUS.")
11-
129
# Create two columns for the two settings sections
1310
col1, col2 = st.columns(2)
1411

0 commit comments

Comments
 (0)