Update app.py
Browse files
app.py
CHANGED
|
@@ -9,8 +9,8 @@ def get_sentiment(input_text):
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn = get_sentiment,
|
| 12 |
-
inputs =
|
| 13 |
-
title =
|
| 14 |
-
description =
|
| 15 |
)
|
| 16 |
iface.launch()
|
|
|
|
| 9 |
|
| 10 |
iface = gr.Interface(
|
| 11 |
fn = get_sentiment,
|
| 12 |
+
inputs = "text", outputs = "text",
|
| 13 |
+
title = "My first AI App",
|
| 14 |
+
description = "Enter some text and I'll tell you whether it is positive or negative"
|
| 15 |
)
|
| 16 |
iface.launch()
|