Polo123 commited on
Commit
03465f5
1 Parent(s): 9f90fe6

Update app.file

Browse files
Files changed (1) hide show
  1. app.file +16 -0
app.file CHANGED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ from logic import get_links,get_documents,get_topics,get_figure
4
+
5
+ st.write("Getting Links")
6
+ links = get_links()
7
+
8
+ st.write("Getting Documents")
9
+ docs = get_documents(links)
10
+
11
+ st.write("Getting Topics with topic_model")
12
+ topic_model = get_topics(docs)
13
+
14
+ st.write("Creating Visual")
15
+ fig = get_figure(topic_model)
16
+ st.image(fig)