gilramos's picture
Update app.py
c7baec5 verified
raw
history blame
192 Bytes
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()