Jerimee commited on
Commit
c067bfd
β€’
1 Parent(s): 8b6d8ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -8,9 +8,10 @@ def get_sentiment(input_text):
8
 
9
  if __name__ == "__main__":
10
  iface = gr.Interface(
 
11
  inputs = "text",
12
  outputs = ['text'],
13
  title = 'Sentiment Analysis',
14
- description = 'Get Sentiment Negative/positive for the given input',
15
  )
16
  iface.launch(inline = False)
 
8
 
9
  if __name__ == "__main__":
10
  iface = gr.Interface(
11
+ fn = get_sentiment,
12
  inputs = "text",
13
  outputs = ['text'],
14
  title = 'Sentiment Analysis',
15
+ description = 'Get Sentiment Negative/positive for the given input'
16
  )
17
  iface.launch(inline = False)