Created
November 28, 2025 15:42
-
-
Save JessicaWachtel/3c0e2fd786114409a8217bee7fea5050 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| classifier = pipeline("sentiment-analysis") | |
| text = "I love sunny days." | |
| result = classifier(text) | |
| text2 = "I don't like the rain." | |
| result2 = classifier(text2) | |
| print("\n=== Sentiment Analysis ===") | |
| print(result) | |
| print(result2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment