karthickg12 commited on
Commit
06d98e9
1 Parent(s): 8c144be

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+ from transformers import pipeline
3
+
4
+ pipe=pipeline("sentiment-analysis")
5
+ t=st.text_area("text")
6
+ st.write(pipe(text))