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
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import re | |
| import json | |
| # Expanded dataset of motivational quotes for better training | |
| quotes = [ | |
| "The only way to do great work is to love what you do.", | |
| "You are never too old to set another goal or to dream a new dream.", | |
| "The future belongs to those who believe in the beauty of their dreams.", |