Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
-
import streamlit.components.v1 as components
|
| 3 |
import pandas as pd
|
| 4 |
import seaborn as sns
|
| 5 |
import matplotlib.pyplot as plt
|
|
@@ -28,6 +27,8 @@ with st.sidebar:
|
|
| 28 |
selected_cik = st.selectbox('Select a company', cik_list, index=len(cik_list)-1)
|
| 29 |
df_selected_cik = df[df.CIK == selected_cik]
|
| 30 |
|
|
|
|
|
|
|
| 31 |
col1, col2 = st.columns(2)
|
| 32 |
|
| 33 |
with col1:
|
|
@@ -43,9 +44,6 @@ with col1:
|
|
| 43 |
plt.legend(title='Legend', loc='upper left')
|
| 44 |
st.pyplot(plt)
|
| 45 |
|
| 46 |
-
iframe_src="https://fceaf6bb978ab08499.gradio.live"
|
| 47 |
-
components.iframe(iframe_src)
|
| 48 |
-
|
| 49 |
with col2:
|
| 50 |
st.markdown('#### ESG Word Clouds')
|
| 51 |
|
|
|
|
| 1 |
import streamlit as st
|
|
|
|
| 2 |
import pandas as pd
|
| 3 |
import seaborn as sns
|
| 4 |
import matplotlib.pyplot as plt
|
|
|
|
| 27 |
selected_cik = st.selectbox('Select a company', cik_list, index=len(cik_list)-1)
|
| 28 |
df_selected_cik = df[df.CIK == selected_cik]
|
| 29 |
|
| 30 |
+
st.link_button("Chat about ESG!", https://fceaf6bb978ab08499.gradio.live)
|
| 31 |
+
|
| 32 |
col1, col2 = st.columns(2)
|
| 33 |
|
| 34 |
with col1:
|
|
|
|
| 44 |
plt.legend(title='Legend', loc='upper left')
|
| 45 |
st.pyplot(plt)
|
| 46 |
|
|
|
|
|
|
|
|
|
|
| 47 |
with col2:
|
| 48 |
st.markdown('#### ESG Word Clouds')
|
| 49 |
|