Spaces:
Sleeping
Sleeping
File size: 370 Bytes
87ac76f d644fca 87ac76f c34d973 87ac76f d644fca |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import gradio as gr
from transformers import pipeline
sentiment = pipeline('sentiment-analysis')
def get_sentiment(입력):
return sentiment(입력)
gr.Interface(fn = get_sentiment,
inputs = "text",
outputs = "text",
title = 'Sentiment Analysis').launch()
|