Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:",
|
| 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)
|