Spaces:
Sleeping
Sleeping
Updated app to capture more human sentiments beyond just "Positive" and "Negative" feelings
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
pipe = pipeline('sentiment-analysis', model = 'SamLowe/roberta-base-go_emotions')
|
6 |
-
text = st.text_area('Enter given text')
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text)
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
pipe = pipeline('sentiment-analysis', model = 'SamLowe/roberta-base-go_emotions')
|
6 |
+
text = st.text_area('Enter given text here')
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text)
|