seonoh12 commited on
Commit
fcb730c
1 Parent(s): 05324f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ from transformers import pipeline
4
 
5
  sentiment= pipeline("sentiment-analysis")
6
 
7
- def get_sentiment(input_text):
8
- return sentiment(input_text)
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)