PH83 commited on
Commit
fef7f78
·
1 Parent(s): 29f9d08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,8 +7,8 @@ def sent(input_text):
7
  return sentiment(input_text)
8
 
9
  iface = gr.Interface(fn = sent,
10
- input = 'text' ,
11
- output = ['text'],
12
  title = 'sentiment analysis',
13
  description = 'this is taking the sentiment of a sentence')
14
  iface.launch()
 
7
  return sentiment(input_text)
8
 
9
  iface = gr.Interface(fn = sent,
10
+ inputs = 'text' ,
11
+ outputs = ['text'],
12
  title = 'sentiment analysis',
13
  description = 'this is taking the sentiment of a sentence')
14
  iface.launch()