Here is a simple Flask web application that uses HTML templates.
To enjoy the application, follow these simple steps:
- 🔗 Find a URL that holds your latest recipe!
- 🔎 Paste the URL into the search bar of our web application
- 🥬 (Optional) If you have dietary restrictions, select them now
- 🥘 Enjoy a list of tasty new recipes that share similar uncommon ingredients
To run the application, follow these simple steps:
- 🔋 Download the dependencies needed (listed below)
- 👩💻 Clone the repository in a directory of your choice
- 💻 Run the application on a local host. Default port 5000
- 🐍 Command to run application:
python app.py
orpython3 -m flask run
- ✨ Watch the magic happen!
Navigate to Python's official website (https://www.python.org/downloads/) and find the right download for your environment.
pip install flask
pip install beautifulsoup4
sudo pip install requests
pip install numpy
pip install pandas
pip install clean-text
pip install spacy
python -m spacy download en
(pip3 depending on python version)
If you get the error: “ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: https://github.com/urllib3/urllib3/issues/2168”
Follow these instructions:
brew install openssl@1.1
or brew reinstall openssl@1.1
then
python3 -m pip install urllib3==1.26.6