Pontonkid commited on
Commit
b74e43d
1 Parent(s): b1046f9

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ from detoxify import Detoxify
2
+ import streamlit as st
3
+
4
+ input = st.text_area('Enter a sentence')
5
+ if input:
6
+ results = Detoxify('original').predict(input)
7
+ st.json(results)