sneves commited on
Commit
b01d9cd
·
verified ·
1 Parent(s): 4d2c256

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
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