Skip to content

Commit

Permalink
Update requirements.txt
Browse files Browse the repository at this point in the history
numpy got updated to 2.0 and py3landid added support for numpy 2.0. Try the below, and it should work; it did for me.

pip install py3landid==0.2.2
pip install numpy==1.23.5
  • Loading branch information
77degrees authored Jun 22, 2024
1 parent 3ef8958 commit 823cd6b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ kornia
backports.cached-property
huggingface_hub
transformers
py3langid
py3langid==0.2.2
sentencepiece
editdistance
numpy
numpy==1.26.4
tensorboardX
websockets
protobuf
ctranslate2
colorama
openai
openai==0.28
open_clip_torch
safetensors
pandas
Expand All @@ -44,6 +44,4 @@ aiofiles
arabic-reshaper
pyhyphen
langcodes
langdetect
manga-ocr
pydensecrf@https://github.com/lucasb-eyer/pydensecrf/archive/refs/heads/master.zip

0 comments on commit 823cd6b

Please sign in to comment.