Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ from transformers import pipeline
|
|
4 |
|
5 |
sentiment= pipeline("sentiment-analysis")
|
6 |
|
7 |
-
def get_sentiment(
|
8 |
-
return sentiment(
|
9 |
|
10 |
iface= gr.Interface(fn= get_sentiment, inputs="text", outputs= ['text'], title='Sentiment- Analysis')
|
11 |
iface.launch(inline=False)
|
|
|
4 |
|
5 |
sentiment= pipeline("sentiment-analysis")
|
6 |
|
7 |
+
def get_sentiment(입력):
|
8 |
+
return sentiment(입력)
|
9 |
|
10 |
iface= gr.Interface(fn= get_sentiment, inputs="text", outputs= ['text'], title='Sentiment- Analysis')
|
11 |
iface.launch(inline=False)
|