Pruthul commited on
Commit
06e98b8
1 Parent(s): cc7c802

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ examples = ["I hate you", "You're pretty cool!!!", "This is a smelly garbage article", "Americans are awful", "I'm going to find your house"]
4
+
5
+ gr.Interface.load("models/unitary/toxic-bert", examples=examples).launch()