Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
arifagustyawan
/
sentiment-roberta-id
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
arifagustyawan
commited on
Nov 23, 2023
Commit
58c7cdc
·
1 Parent(s):
0b9ec78
add application file
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
ADDED
Viewed
@@ -0,0 +1,7 @@
1
+
from transformers import pipeline
2
+
import gradio as gr
3
+
4
+
pipe = pipeline("text-classification", model="arifagustyawan/sentiment-roberta-id")
5
+
6
+
demo = gr.Interface.from_pipeline(pipe)
7
+
demo.launch()