Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ if page == "μ°λ Ήλ λ° μ±λ³μ λ°λ₯Έ μμ 5κ° λμΆ λμ":
|
|
| 55 |
# λ§λ κ·Έλν μκ°ν
|
| 56 |
if not filtered_books.empty:
|
| 57 |
font_path = 'NanumGothic-Regular.ttf'
|
| 58 |
-
fontprop =
|
| 59 |
plt.rc('font', family=fontprop.get_name())
|
| 60 |
|
| 61 |
st.write(f"μμ 5 λμ (μ°λ Ήλ: {selected_age}, μ±λ³: {selected_gender})")
|
|
|
|
| 55 |
# λ§λ κ·Έλν μκ°ν
|
| 56 |
if not filtered_books.empty:
|
| 57 |
font_path = 'NanumGothic-Regular.ttf'
|
| 58 |
+
fontprop = fm.FontProperties(fname=font_path)
|
| 59 |
plt.rc('font', family=fontprop.get_name())
|
| 60 |
|
| 61 |
st.write(f"μμ 5 λμ (μ°λ Ήλ: {selected_age}, μ±λ³: {selected_gender})")
|