kambris commited on
Commit
d61db4f
·
verified ·
1 Parent(s): e4d0f85

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ from sklearn.metrics.pairwise import cosine_similarity
13
  from wordcloud import WordCloud
14
  import spacy
15
 
16
- st.set_page_config(page_title="Advanced Political Speech Analysis", page_icon="🗣️", layout="wide")
17
 
18
  from transformers import (
19
  AutoTokenizer,
@@ -249,7 +249,7 @@ def main():
249
 
250
  analyzer = SpeechAnalyzer()
251
 
252
- uploaded_file = st.file_uploader("Upload Political Speech", type=['txt', 'docx', 'pdf'])
253
 
254
  if uploaded_file is not None:
255
  if uploaded_file.name.endswith('.txt'):
 
13
  from wordcloud import WordCloud
14
  import spacy
15
 
16
+ st.set_page_config(page_title="Political Speech Analysis", page_icon="🗣️", layout="wide")
17
 
18
  from transformers import (
19
  AutoTokenizer,
 
249
 
250
  analyzer = SpeechAnalyzer()
251
 
252
+ uploaded_file = st.file_uploader("Upload your document", type=['txt', 'docx', 'pdf'])
253
 
254
  if uploaded_file is not None:
255
  if uploaded_file.name.endswith('.txt'):