Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
model = "fasherr/
|
| 5 |
pipe = pipeline("text-classification", model=model)
|
| 6 |
|
| 7 |
def predict(text):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
model = "fasherr/toxicity_rubert"
|
| 5 |
pipe = pipeline("text-classification", model=model)
|
| 6 |
|
| 7 |
def predict(text):
|