Spaces:
Runtime error
Runtime error
updated space title
Browse files
app.py
CHANGED
@@ -10,6 +10,9 @@ def get_sentiment(input_text):
|
|
10 |
|
11 |
|
12 |
iface = gr.Interface(
|
13 |
-
fn=get_sentiment,
|
|
|
|
|
|
|
14 |
)
|
15 |
iface.launch(inline=False)
|
|
|
10 |
|
11 |
|
12 |
iface = gr.Interface(
|
13 |
+
fn=get_sentiment,
|
14 |
+
inputs="text",
|
15 |
+
outputs=["text"],
|
16 |
+
title="Swahili Sentiment Analysis",
|
17 |
)
|
18 |
iface.launch(inline=False)
|