GovindRaj commited on
Commit
90e7dd3
·
1 Parent(s): b034ef1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -1 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  print("Welcome to EBiz AI chatbot!!!")
 
1
+ import streamlit as st
2
+ from transformers import pipeline
3
+
4
+
5
+ pipe = pipeline("sentiment-analysis")
6
+ text = st.text_area("Enter some text here")
7
+
8
+
9
+ if text:
10
+ out = pipe(text)
11
+ st.join(out)
12
+
13
+
14
+
15
+
16
  print("Welcome to EBiz AI chatbot!!!")