Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ def sent(input_text):
|
|
7 |
return sentiment(input_text)
|
8 |
|
9 |
iface = gr.Interface(fn = sent,
|
10 |
-
|
11 |
-
|
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()
|