File size: 193 Bytes
58c7cdc
 
 
 
 
 
 
1
2
3
4
5
6
7
from transformers import pipeline
import gradio as gr

pipe = pipeline("text-classification", model="arifagustyawan/sentiment-roberta-id")

demo = gr.Interface.from_pipeline(pipe)
demo.launch()