Spaces:
Runtime error
Runtime error
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() |