File size: 175 Bytes
872dd95
 
 
 
 
 
 
1
2
3
4
5
6
7
from detoxify import Detoxify
import streamlit as st

input = st.text_area('Enter a sentence')
if input:
    results = Detoxify('original').predict(input)
    st.json(results)