Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,8 @@ def senti(sentiment):
|
|
9 |
iface = gr.Interface(
|
10 |
fn=senti,
|
11 |
inputs='text',
|
12 |
-
outputs='text'
|
|
|
13 |
)
|
14 |
|
15 |
iface.launch()
|
|
|
9 |
iface = gr.Interface(
|
10 |
fn=senti,
|
11 |
inputs='text',
|
12 |
+
outputs=['text'],
|
13 |
+
description = 'Get Sentiment Negative/positive for the given input'
|
14 |
)
|
15 |
|
16 |
iface.launch()
|