soojeongcrystal commited on
Commit
076fda8
·
verified ·
1 Parent(s): 1dcf565

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -3
app.py CHANGED
@@ -14,7 +14,7 @@ from pyvis.network import Network
14
  import streamlit.components.v1 as components
15
 
16
  # Streamlit 페이지 설정
17
- st.set_page_config(layout="wide", page_title="📊 토픽모델링 Tool for SK", page_icon="📊")
18
 
19
  # KoNLPy 형태소 분석기 초기화
20
  @st.cache_resource
@@ -72,9 +72,18 @@ def visualize_network(G):
72
  html_string = f.read()
73
  components.html(html_string, height=500)
74
 
75
- # 헤더
76
  st.markdown("""
77
- <div style="background-color: #FFC0CB; padding: 10px; text-align: right;">
 
 
 
 
 
 
 
 
 
78
  mySUNI 행복 College 행복담당조직 Meet-Up
79
  </div>
80
  """, unsafe_allow_html=True)
 
14
  import streamlit.components.v1 as components
15
 
16
  # Streamlit 페이지 설정
17
+ st.set_page_config(layout="wide", page_title="📊 토픽모델링 for SK", page_icon="📊")
18
 
19
  # KoNLPy 형태소 분석기 초기화
20
  @st.cache_resource
 
72
  html_string = f.read()
73
  components.html(html_string, height=500)
74
 
75
+ # 헤더 스타일 변경
76
  st.markdown("""
77
+ <style>
78
+ .css-1adrfps {
79
+ padding: 0px;
80
+ }
81
+ .css-1kyxreq {
82
+ background-color: #f1f1f1;
83
+ padding: 10px;
84
+ }
85
+ </style>
86
+ <div style="background-color: #f1f1f1; padding: 10px; color: #707070; text-align: right; width: 100%;">
87
  mySUNI 행복 College 행복담당조직 Meet-Up
88
  </div>
89
  """, unsafe_allow_html=True)