Spaces:
Runtime error
Runtime error
Create app.py
Browse files
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()
|