dltmdgus commited on
Commit
78955b9
Β·
verified Β·
1 Parent(s): 5d59349

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -24,13 +24,8 @@ def load_data(file_path):
24
 
25
  # 폰트 μ„€μ •
26
  def set_font():
27
- font_path = r"C:\Users\user\.streamlit\H2GTRM.TTF"
28
- if os.path.isfile(font_path):
29
- font_prop = fm.FontProperties(fname=font_path)
30
- plt.rcParams['font.family'] = font_prop.get_name()
31
- plt.rcParams['axes.unicode_minus'] = False
32
- else:
33
- st.error("μ§€μ •λœ 폰트 νŒŒμΌμ„ 찾을 수 μ—†μŠ΅λ‹ˆλ‹€.")
34
 
35
  if page == "μ—°λ ΉλŒ€ 및 성별에 λ”°λ₯Έ μƒμœ„ 5개 λŒ€μΆœ λ„μ„œ":
36
  st.title("μ—°λ ΉλŒ€ 및 성별에 λ”°λ₯Έ μƒμœ„ 5개 λŒ€μΆœ λ„μ„œ")
 
24
 
25
  # 폰트 μ„€μ •
26
  def set_font():
27
+ font_path = "H2GTRM.TTF"
28
+
 
 
 
 
 
29
 
30
  if page == "μ—°λ ΉλŒ€ 및 성별에 λ”°λ₯Έ μƒμœ„ 5개 λŒ€μΆœ λ„μ„œ":
31
  st.title("μ—°λ ΉλŒ€ 및 성별에 λ”°λ₯Έ μƒμœ„ 5개 λŒ€μΆœ λ„μ„œ")