Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
knowhate
/
portuguese-hate-speech-detection
like
2
Runtime error
App
Files
Files
Community
028d2b5
portuguese-hate-speech-detection
/
app.py
gilramos
Update app.py
764a447
verified
6 months ago
raw
Copy download link
history
blame
Safe
179 Bytes
import
gradio
as
gr
from
transformers
import
pipeline
pipe = pipeline(
"text-classification"
, model=
"knowhate/HateBERTimbau"
)
demo = gr.Interface.from_pipeline(pipe)
demo.launch()