Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
|
| 3 |
from transformers import pipeline
|
| 4 |
|
| 5 |
-
pipe = pipeline('sentiment-analysis')
|
| 6 |
text = st.text_area('Enter given text')
|
| 7 |
|
| 8 |
if text:
|
|
|
|
| 2 |
|
| 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:
|