Spaces:
Runtime error
Runtime error
eduardo-meik
commited on
Commit
•
25e1442
1
Parent(s):
f359f97
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
|
|
|
|
4 |
pipe = pipeline('sentiment-analysis')
|
5 |
-
text = st.text_area('
|
6 |
|
7 |
if text:
|
8 |
out = pipe(text)
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
st.title('Plataforma de Diálogos Participativos')
|
5 |
+
|
6 |
pipe = pipeline('sentiment-analysis')
|
7 |
+
text = st.text_area('Añade el texto a evaluar')
|
8 |
|
9 |
if text:
|
10 |
out = pipe(text)
|