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