import streamlit as st from transformers import pipeline st.title('Publico Taller2 - HuggingFace') with st.sidebar: st.session_state.model = st.selectbox("Seleccione un modelo",['edchaud/Tallerfn_tun_mod_eval']) Clasificador = pipeline('sentiment-analysis',model=st.session_state.model) input = st.text_input('Agregar algun texto') Res=Clasificador(input) st.markdown(Res)