Download components/show_source.py from NCTCMumbai/NCTC_OSINT_AGENT: direct link, hf CLI and curl.
- Browser
- Download file 198 Bytes
-
https://huggingface.co/spaces/NCTCMumbai/NCTC_OSINT_AGENT/resolve/main/components/show_source.py
- Command line
-
hf download hf://spaces/NCTCMumbai/NCTC_OSINT_AGENT/components/show_source.py
-
curl -L -o show_source.py https://huggingface.co/spaces/NCTCMumbai/NCTC_OSINT_AGENT/resolve/main/components/show_source.py
198 Bytes
| 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}") | |