Satyajithchary commited on
Commit
1b664dd
1 Parent(s): 9b70fe3

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from transformers import pipeline
3
+
4
+ # Title and Subtitle
5
+ st.title('Sentiment Analysis Application by using BERT')
6
+
7
+ pipe=pipeline(model="Satyajithchary/Sentiment_Analysis_using_BERT_With_10000_Samples")
8
+ text=st.text_area('Enter your text')
9
+
10
+ if text:
11
+ out=pipe(text)
12
+ st.table(out)