Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ if 'index' not in st.session_state:
|
|
54 |
# Display records with pagination
|
55 |
for i in range(st.session_state.index, min(st.session_state.index + display_limit, len(filtered_df))):
|
56 |
item = filtered_df.iloc[i]
|
57 |
-
|
58 |
liked = likes_history.get(str(i), 0)
|
59 |
|
60 |
with st.expander(f"{Country} - {linkType} π"):
|
|
|
54 |
# Display records with pagination
|
55 |
for i in range(st.session_state.index, min(st.session_state.index + display_limit, len(filtered_df))):
|
56 |
item = filtered_df.iloc[i]
|
57 |
+
Country, link, linkType = item['Country'], item['link'], item['linkType']
|
58 |
liked = likes_history.get(str(i), 0)
|
59 |
|
60 |
with st.expander(f"{Country} - {linkType} π"):
|