From 5e26eb58d0bcff6a856d83f03572a1e0697f81b0 Mon Sep 17 00:00:00 2001 From: Jack H Date: Wed, 20 Nov 2024 09:51:54 -0600 Subject: [PATCH] fix linting --- .DS_Store | Bin 6148 -> 6148 bytes main.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index a1f41aac429f544bbd5c99cd1e4949d2163347fa..86f5d116dd7c1e0393635347dcf2cb92f653d582 100644 GIT binary patch delta 48 zcmZoMXfc@JFUrBdz`)4BAi%)j#}Lfm>Y0N$DCu28|p7$RN7#KG5Fdb#x%+B$b9{>%!8883< diff --git a/main.py b/main.py index 1eaa998..2a24934 100644 --- a/main.py +++ b/main.py @@ -1,8 +1,5 @@ import nltk -nltk.data.path.append('nlkt_data') -nltk.download('vader_lexicon', download_dir='nlkt_data') import streamlit as st -import time from datetime import datetime from utils import ( analyze_sentiment, get_color_scheme, create_sentiment_chart, @@ -10,6 +7,9 @@ create_comparison_chart, get_text_summary, calculate_trend ) +nltk.data.path.append('nlkt_data') +nltk.download('vader_lexicon', download_dir='nlkt_data') + # set up the page with a nice title, icon, and layout st.set_page_config( page_title="Sentiment Analyzer",