jaothan commited on
Commit
9872150
·
verified ·
1 Parent(s): 23ca3bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -26
app.py CHANGED
@@ -1,30 +1,16 @@
1
  import streamlit as st
 
 
2
 
3
- # Set page title
4
- st.title("Generative AI Maturity Assessment")
 
 
5
 
6
- # Add an overview section
7
- st.header("Overview")
8
- st.write("Based on your responses, your organization's GenAI maturity was evaluated overall and across the following seven pillars:")
 
9
 
10
- # Add the pie chart image
11
- st.image("path/to/pie_chart.png", caption="Overall Maturity Stage")
12
-
13
- # Add the radar chart image
14
- st.image("path/to/radar_chart.png", caption="Maturity Across Pillars")
15
-
16
- # Add the stages explanation
17
- st.subheader("Stages Explanation")
18
- st.markdown("""
19
- - **Ideating**: Researching generative AI's capabilities and considering how it might benefit the organization.
20
- - **Experimenting**: Pilot projects or proofs-of-concept to validate the technology's feasibility are conducted.
21
- - **Optimizing**: A strategic plan is developed and generative AI solutions are in the process of integrating.
22
- - **Transforming**: Solutions are integrated into most of initiatives and currently refining to transform the organization.
23
- - **Leading**: Fully integrated and scaled solutions across the organization with processes and capabilities to sustain and evolve.
24
- """)
25
-
26
- # Add the sidebar navigation
27
- st.sidebar.header("Navigation")
28
- pages = ["Home", "Disclaimer", "Executive Summary", "Contents", "Overview", "Strategy & Innovation", "Customer Experience", "Organization & People", "Operations", "Risk & Cybersecurity", "Finance, Tax & Legal", "Data & Technology", "Context", "About EY"]
29
- selected_page = st.sidebar.selectbox("Select a page", pages)
30
- st.sidebar.write(f"You selected: {selected_page}")
 
1
  import streamlit as st
2
+ import pandas as pd
3
+ import plotly.graph_objects as go
4
 
5
+ # Sample data for the radar chart
6
+ categories = ['Strategy & Innovation', 'Customer Experience', 'Organization & People',
7
+ 'Operations', 'Risk & Cybersecurity', 'Finance, Tax & Legal', 'Data & Technology']
8
+ values = [0.8, 0.6, 0.7, 0.5, 0.4, 0.3, 0.9]
9
 
10
+ # Create a DataFrame for the radar chart
11
+ df = pd.DataFrame(dict(
12
+ r=values,
13
+ theta=categories))
14
 
15
+ # Create the radar chart
16
+ fig = go