Update app.py
Browse files
app.py
CHANGED
|
@@ -23,10 +23,10 @@ def analyze_sentiment(text):
|
|
| 23 |
|
| 24 |
# Define example sentences for easy testing
|
| 25 |
examples = [
|
| 26 |
-
"I love this product! It's amazing!",
|
| 27 |
-
"This was the worst experience I've ever had.",
|
| 28 |
-
"The movie was okay, not great but not bad either.",
|
| 29 |
-
"Absolutely fantastic! I would recommend it to everyone."
|
| 30 |
]
|
| 31 |
|
| 32 |
# Build the Gradio interface
|
|
@@ -44,3 +44,4 @@ iface = gr.Interface(
|
|
| 44 |
|
| 45 |
# Launch the Gradio interface
|
| 46 |
iface.launch()
|
|
|
|
|
|
| 23 |
|
| 24 |
# Define example sentences for easy testing
|
| 25 |
examples = [
|
| 26 |
+
["I love this product! It's amazing!"],
|
| 27 |
+
["This was the worst experience I've ever had."],
|
| 28 |
+
["The movie was okay, not great but not bad either."],
|
| 29 |
+
["Absolutely fantastic! I would recommend it to everyone."]
|
| 30 |
]
|
| 31 |
|
| 32 |
# Build the Gradio interface
|
|
|
|
| 44 |
|
| 45 |
# Launch the Gradio interface
|
| 46 |
iface.launch()
|
| 47 |
+
|