LitReviewAI / components /insights.py
bano1's picture
Create insights.py
6afe213 verified
Raw
History Blame Contribute Delete
438 Bytes
import streamlit as st
from src.visualizations import build_coauthor_graph
def insights_section():
st.header("⚡ Research Insights")
if not st.session_state.papers:
st.info("Upload papers first.")
return
st.subheader(
"Co-author Network"
)
build_coauthor_graph(
st.session_state.papers
)
st.write(
"Total Papers:",
len(st.session_state.papers)
)