Pinned python package versions

This commit is contained in:
B.J. Dweck 2023-09-21 15:21:17 +03:00
parent aa17dcc48a
commit 9d33c2ee10
2 changed files with 5 additions and 12 deletions

View File

@ -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:

View File

@ -1,4 +1,4 @@
genanki==0.8.0
Pillow
openai
flask
Pillow==10.0.1
openai==0.28.0
Flask==2.3.3