Polo123's picture
Rename app.file to app.py
e371fed verified
import streamlit as st
from logic import get_links,get_documents,get_topics,get_figure
st.write("Getting Links")
links = get_links()
st.write("Getting Documents")
docs = get_documents(links)
st.write("Getting Topics with topic_model")
topic_model = get_topics(docs)
st.write("Creating Visual")
fig = get_figure(topic_model)
st.image(fig)