Pushpa commited on
Commit
eef1892
1 Parent(s): ebddec3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,12 +10,12 @@ Original file is located at
10
  #1 - https://www.kaggle.com/code/ramjasmaurya/financial-sentiment-analysis
11
  #2 - https://www.kaggle.com/code/adarshbiradar/sentiment-analysis-using-bert
12
 
13
- !pip install streamlit
14
  import streamlit
15
 
16
  pip install pygal
17
 
18
- !pip install squarify
19
 
20
  # Commented out IPython magic to ensure Python compatibility.
21
  import numpy as np
@@ -551,7 +551,7 @@ df['sentiment'].value_counts()
551
  from sklearn.model_selection import train_test_split
552
  train,eva = train_test_split(df,test_size = 0.2)
553
 
554
- !pip install simpletransformers
555
 
556
  from simpletransformers.classification import ClassificationModel
557
 
@@ -657,7 +657,7 @@ get_result("The stock market of Indian economy is dangling too much")
657
 
658
  """#VADER"""
659
 
660
- !pip install vaderSentiment
661
 
662
  from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
663
 
 
10
  #1 - https://www.kaggle.com/code/ramjasmaurya/financial-sentiment-analysis
11
  #2 - https://www.kaggle.com/code/adarshbiradar/sentiment-analysis-using-bert
12
 
13
+ pip install streamlit
14
  import streamlit
15
 
16
  pip install pygal
17
 
18
+ pip install squarify
19
 
20
  # Commented out IPython magic to ensure Python compatibility.
21
  import numpy as np
 
551
  from sklearn.model_selection import train_test_split
552
  train,eva = train_test_split(df,test_size = 0.2)
553
 
554
+ pip install simpletransformers
555
 
556
  from simpletransformers.classification import ClassificationModel
557
 
 
657
 
658
  """#VADER"""
659
 
660
+ pip install vaderSentiment
661
 
662
  from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
663