kawaa99 commited on
Commit
84626be
·
verified ·
1 Parent(s): 3663605

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -322,7 +322,7 @@ elif mode == "Favorites":
322
  col1, col2 = st.columns([4, 1])
323
  with col1:
324
  st.write("⭐", idiom)
325
- st.write("Meaning:", idiom_map.get(idiom, "Unknown"))
326
  with col2:
327
  if st.button("Remove", key=f"remove_{idiom}"):
328
  remove_favorite(conn, idiom)
 
322
  col1, col2 = st.columns([4, 1])
323
  with col1:
324
  st.write("⭐", idiom)
325
+ st.write("Meaning:",idiom_map.get(idiom, {}).get("meaning", "Unknown"))
326
  with col2:
327
  if st.button("Remove", key=f"remove_{idiom}"):
328
  remove_favorite(conn, idiom)