import streamlit as st from transformers import pipeline st.set_page_config( page_title="Detector de comentarios toxicos en twitter", page_icon="🎈", ) def _max_width_(): max_width_str = f"max-width: 1400px;" st.markdown( f""" """, unsafe_allow_html=True, ) _max_width_() c30, c31, c32 = st.columns([2.5, 1, 3]) with c30: # st.image("logo.png", width=400) st.title("🔑 Detector de comentarios toxicos en twitter") st.header("") txt = st.text_area('Text to analyze') # print(txt) # pipe = pipeline(model="dehatebert-mono-spanish") # result = pipe(txt) # st.write("result")