Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,11 +5,9 @@ import seaborn as sns
|
|
| 5 |
import matplotlib.font_manager as fm
|
| 6 |
from matplotlib import rc
|
| 7 |
|
| 8 |
-
|
| 9 |
-
font_path =
|
| 10 |
font_prop = fm.FontProperties(fname=font_path)
|
| 11 |
-
|
| 12 |
-
|
| 13 |
rc('font', family=font_prop.get_name())
|
| 14 |
|
| 15 |
# μ¬μ΄λλ°μ λͺ©μ°¨ μΆκ°
|
|
@@ -28,7 +26,7 @@ if page == "μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 5κ° λμΆ λμ":
|
|
| 28 |
st.title("μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 5κ° λμΆ λμ")
|
| 29 |
|
| 30 |
# λ°μ΄ν° λ‘λ
|
| 31 |
-
df = load_data(
|
| 32 |
if df.empty:
|
| 33 |
st.stop()
|
| 34 |
|
|
@@ -69,7 +67,7 @@ if page == "μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 5κ° λμΆ λμ":
|
|
| 69 |
elif page == "μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 3κ° μ₯λ₯΄":
|
| 70 |
st.title("μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 3κ° μ₯λ₯΄")
|
| 71 |
|
| 72 |
-
|
| 73 |
df = load_data(r'μμ_3_μ₯λ₯΄.xlsx')
|
| 74 |
if df.empty:
|
| 75 |
st.stop()
|
|
|
|
| 5 |
import matplotlib.font_manager as fm
|
| 6 |
from matplotlib import rc
|
| 7 |
|
| 8 |
+
# ν°νΈ μ€μ (νμ μ)
|
| 9 |
+
font_path = 'NanumGothic-Regular.ttf' # λλ μλ κ²½λ‘
|
| 10 |
font_prop = fm.FontProperties(fname=font_path)
|
|
|
|
|
|
|
| 11 |
rc('font', family=font_prop.get_name())
|
| 12 |
|
| 13 |
# μ¬μ΄λλ°μ λͺ©μ°¨ μΆκ°
|
|
|
|
| 26 |
st.title("μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 5κ° λμΆ λμ")
|
| 27 |
|
| 28 |
# λ°μ΄ν° λ‘λ
|
| 29 |
+
df = load_data('μμ_5_λμ.xlsx')
|
| 30 |
if df.empty:
|
| 31 |
st.stop()
|
| 32 |
|
|
|
|
| 67 |
elif page == "μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 3κ° μ₯λ₯΄":
|
| 68 |
st.title("μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 3κ° μ₯λ₯΄")
|
| 69 |
|
| 70 |
+
# λ°μ΄ν° λ‘λ
|
| 71 |
df = load_data(r'μμ_3_μ₯λ₯΄.xlsx')
|
| 72 |
if df.empty:
|
| 73 |
st.stop()
|