fa9917c c7baec5 fa9917c
1
2
3
4
5
6
7
import gradio as gr import torch from transformers import pipeline pipe = pipeline("text-classification", model="knowhate/HateBERTimbau") demo = gr.Interface.from_pipeline(pipe) demo.launch()