Spaces:
Sleeping
Sleeping
Commit
•
80356fe
1
Parent(s):
471adae
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,9 @@ def get_sentiment(input_text):
|
|
14 |
face = "\U0001f610"
|
15 |
return (result,face)
|
16 |
|
17 |
-
iface = gr.Interface(fn=get_sentiment, inputs="text", outputs=['text','text'], title='Financial Sentiment Analysis'
|
|
|
|
|
|
|
18 |
|
19 |
iface.launch(inline=False)
|
|
|
14 |
face = "\U0001f610"
|
15 |
return (result,face)
|
16 |
|
17 |
+
iface = gr.Interface(fn=get_sentiment, inputs="text", outputs=['text','text'], title='Financial Sentiment Analysis',
|
18 |
+
examples = [["With the launch of Apple Silicon, Apple shares are same"],
|
19 |
+
["With the launch of Apple Silicon, Apple shares have increased"],
|
20 |
+
["With the launch of Apple Silicon, Apple shares have decreased"]])
|
21 |
|
22 |
iface.launch(inline=False)
|