dltmdgus commited on
Commit
addfe87
Β·
verified Β·
1 Parent(s): 40e2ac9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,3 +1,4 @@
 
1
  import streamlit as st
2
  import pandas as pd
3
  import matplotlib.pyplot as plt
@@ -5,8 +6,8 @@ import seaborn as sns
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
 
 
1
+ import os
2
  import streamlit as st
3
  import pandas as pd
4
  import matplotlib.pyplot as plt
 
6
  import matplotlib.font_manager as fm
7
  from matplotlib import rc
8
 
9
+ # μ ˆλŒ€ 경둜둜 폰트 μ„€μ • (ν•„μš” μ‹œ)
10
+ font_path = os.path.join(os.path.dirname(__file__), 'NanumGothic-Regular.ttf') # μ ˆλŒ€ 경둜
11
  font_prop = fm.FontProperties(fname=font_path)
12
  rc('font', family=font_prop.get_name())
13