Pranav0111 commited on
Commit
2cf497c
·
verified ·
1 Parent(s): 64e2ce6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -339,7 +339,8 @@ def render_chat():
339
  st.markdown(response)
340
  st.session_state.messages.append({"role": "assistant", "content": response})
341
 
342
- # --- Main App ---
 
343
  def main():
344
  st.set_page_config(
345
  page_title="Prospira",
@@ -348,29 +349,23 @@ def main():
348
  initial_sidebar_state="expanded"
349
  )
350
 
351
- # Sidebar
352
  with st.sidebar:
353
  st.title("Prospira")
354
  st.subheader("Data-Driven Solutions")
355
 
356
- # Navigation
357
  page = st.radio(
358
  "Navigation",
359
  ["Dashboard", "Analytics", "Brainstorm", "Chat"]
360
  )
361
 
362
- # Page routing
363
  if page == "Dashboard":
364
  render_dashboard()
365
  elif page == "Analytics":
366
  render_analytics()
367
  elif page == "Brainstorm":
368
- render_brainstorm()
369
  elif page == "Chat":
370
  render_chat()
371
- elif page == "Brainstorm":
372
- render_brainstorm_page()
373
-
374
 
375
  if __name__ == "__main__":
376
  main()
 
339
  st.markdown(response)
340
  st.session_state.messages.append({"role": "assistant", "content": response})
341
 
342
+
343
+ #main file
344
  def main():
345
  st.set_page_config(
346
  page_title="Prospira",
 
349
  initial_sidebar_state="expanded"
350
  )
351
 
 
352
  with st.sidebar:
353
  st.title("Prospira")
354
  st.subheader("Data-Driven Solutions")
355
 
 
356
  page = st.radio(
357
  "Navigation",
358
  ["Dashboard", "Analytics", "Brainstorm", "Chat"]
359
  )
360
 
 
361
  if page == "Dashboard":
362
  render_dashboard()
363
  elif page == "Analytics":
364
  render_analytics()
365
  elif page == "Brainstorm":
366
+ render_brainstorm_page()
367
  elif page == "Chat":
368
  render_chat()
 
 
 
369
 
370
  if __name__ == "__main__":
371
  main()