File size: 284 Bytes
70ead2f
 
addf543
70ead2f
 
 
 
 
 
 
 
addf543
1
2
3
4
5
6
7
8
9
10
11
12
import streamlit as st
from transformers import pipeline
import model.py

st.title("Analisis de Sentimientos")

txt = st.text_area(label="Please write what you want to analyze...")
predictions = run_sentiment_analysis(txt)

for prediction in predictions:
    st.write(prediction)