windyeh commited on
Commit
bef80e7
·
1 Parent(s): 018822c

correct fonts filepath

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ if st.session_state.clicked:
35
  st.divider()
36
 
37
  # setup fonts for display mandarin characters
38
- font_file = "./jf-openhuninn-2.0.ttf" # The path to the custom font file.
39
  font_manager.fontManager.addfont(font_file)
40
  matplotlib.rcParams['font.family'] = ['jf-openhuninn-2.0', 'sans-serif']
41
 
 
35
  st.divider()
36
 
37
  # setup fonts for display mandarin characters
38
+ font_file = "./fonts/jf-openhuninn-2.0.ttf" # The path to the custom font file.
39
  font_manager.fontManager.addfont(font_file)
40
  matplotlib.rcParams['font.family'] = ['jf-openhuninn-2.0', 'sans-serif']
41