diff --git a/README.md b/README.md index 574cde2..19055cc 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,9 @@ You need Tesseract for the OCR functionality: ```bash sudo apt-get install tesseract-ocr ``` -#### Python Dependencies +### Python Dependencies -To run AnkiAI, you'll need to have the following dependencies installed: - -``` -genanki==0.8.0 -Pillow -openai -flask -``` +To ensure consistent functionality, it's crucial to use the provided `requirements.txt` file which pins dependencies to known compatible versions. You can install the Python dependencies via `pip` using the `requirements.txt` file: diff --git a/requirements.txt b/requirements.txt index 9706f08..c7b42b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ genanki==0.8.0 -Pillow -openai -flask \ No newline at end of file +Pillow==10.0.1 +openai==0.28.0 +Flask==2.3.3 \ No newline at end of file