import streamlit as st def show_source(links): # Expander component to show source with st.expander("Show source"): for i, link in enumerate(links): st.info(f"{link}")