akuysal commited on
Commit
5b778fe
1 Parent(s): 8c5e1a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,5 +6,5 @@ def sentiment(name):
6
  return out
7
 
8
  pipe = pipeline("sentiment-analysis")
9
- iface = gr.Interface(fn=sentiment, inputs="text", outputs="text")
10
  iface.launch()
 
6
  return out
7
 
8
  pipe = pipeline("sentiment-analysis")
9
+ iface = gr.Interface(fn=sentiment, inputs="text", outputs="label")
10
  iface.launch()