Update app.py
Browse files
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!!!")
|