Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -501,12 +501,13 @@ class SentimentApp:
|
|
| 501 |
|
| 502 |
# Example data
|
| 503 |
self.examples = [
|
| 504 |
-
["
|
| 505 |
-
["
|
| 506 |
-
["
|
| 507 |
-
["
|
| 508 |
-
["
|
| 509 |
]
|
|
|
|
| 510 |
|
| 511 |
@handle_errors(default_return=("Please enter text", None, None, None, None))
|
| 512 |
def analyze_single(self, text: str, theme: str = 'default'):
|
|
|
|
| 501 |
|
| 502 |
# Example data
|
| 503 |
self.examples = [
|
| 504 |
+
["While the film's visual effects were undeniably impressive, the story lacked emotional weight, and the pacing felt inconsistent throughout."],
|
| 505 |
+
["An extraordinary achievement in filmmaking — the direction was masterful, the script was sharp, and every performance added depth and realism."],
|
| 506 |
+
["Despite a promising start, the film quickly devolved into a series of clichés, with weak character development and an ending that felt rushed and unearned."],
|
| 507 |
+
["A beautifully crafted story with heartfelt moments and a soundtrack that perfectly captured the emotional tone of each scene."],
|
| 508 |
+
["The movie was far too long, with unnecessary subplots and dull dialogue that made it difficult to stay engaged until the end."]
|
| 509 |
]
|
| 510 |
+
|
| 511 |
|
| 512 |
@handle_errors(default_return=("Please enter text", None, None, None, None))
|
| 513 |
def analyze_single(self, text: str, theme: str = 'default'):
|