entropy25 commited on
Commit
dc2fd1a
Β·
verified Β·
1 Parent(s): 30194ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -7,7 +7,7 @@ from datetime import datetime, timedelta
7
  import google.generativeai as genai
8
 
9
  # Page config
10
- st.set_page_config(page_title="Production Monitor", page_icon="🏭", layout="wide")
11
 
12
  @st.cache_resource
13
  def init_ai():
@@ -207,7 +207,7 @@ def query_ai(model, stats, question):
207
 
208
  # Main app
209
  def main():
210
- st.title("🏭 Production Monitor")
211
  st.markdown("*Real-time production analysis dashboard*")
212
 
213
  model = init_ai()
@@ -299,12 +299,12 @@ def main():
299
  shift_time_view = st.selectbox("Shift Time Period", ["daily", "weekly", "monthly"], key="shift_time")
300
 
301
  with col_shift_trend1:
302
- st.markdown("**πŸ“ˆ Shift Production Trends**")
303
  shift_trend_chart = create_shift_trend_chart(df, shift_time_view)
304
  st.plotly_chart(shift_trend_chart, use_container_width=True)
305
 
306
  # Shift comparison charts
307
- st.markdown("**πŸ“Š Shift Comparison Analysis**")
308
  shift_col1, shift_col2 = st.columns(2)
309
 
310
  with shift_col1:
 
7
  import google.generativeai as genai
8
 
9
  # Page config
10
+ st.set_page_config(page_title="Production Data Monitor Platform – Nilsen Service & Consulting AS", page_icon="🏭", layout="wide")
11
 
12
  @st.cache_resource
13
  def init_ai():
 
207
 
208
  # Main app
209
  def main():
210
+ st.title("🏭 Production Data Monitor Platform – Nilsen Service & Consulting AS")
211
  st.markdown("*Real-time production analysis dashboard*")
212
 
213
  model = init_ai()
 
299
  shift_time_view = st.selectbox("Shift Time Period", ["daily", "weekly", "monthly"], key="shift_time")
300
 
301
  with col_shift_trend1:
302
+ st.markdown("**πŸŒ“ Shift Production Trends**")
303
  shift_trend_chart = create_shift_trend_chart(df, shift_time_view)
304
  st.plotly_chart(shift_trend_chart, use_container_width=True)
305
 
306
  # Shift comparison charts
307
+ st.markdown("**πŸŒ“ Shift Comparison Analysis**")
308
  shift_col1, shift_col2 = st.columns(2)
309
 
310
  with shift_col1: