Skip to content

Commit

Permalink
fix: fix dependencies issues and fix README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed Oct 18, 2024
1 parent bbeccef commit 5ab6051
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 87 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ uv run python -m spacy download fr_core_news_sm
If any issue with the `fr_core_news_sm` model installing, one can install it manually with:
```bash
wget https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.5.0/fr_core_news_sm-3.5.0-py3-none-any.whl -P ./assets
unzip assets/fr_core_news_sm-3.5.0-py3-none-any.whl -d ./.venv/lib/python3.11/site-packages
unzip assets/fr_core_news_sm-3.5.0-py3-none-any.whl -d ./.venv/lib/python3.12/site-packages && chmod -R 777 ./.venv/lib/python3.12/site-packages/fr_core_news_sm
```

If any issue with pip in the venv for Spacy:
Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "word-generator-api"
version = "1.5.9"
version = "1.5.10"
description = "Generates words that don't exist but sound English, French, Spanish or Italian, along with their altered dictionary definitions."
authors = [{ name = "Adrien Carpentier", email = "[email protected]" }]
dependencies = [
Expand All @@ -11,7 +11,7 @@ dependencies = [
"requests<3.0.0,>=2.27.1",
"slowapi<1.0.0,>=0.1.5",
"sentry-sdk>=2.10.0",
"spacy<4.0.0,>=3.2.4",
"spacy<4.0.0,>=3.8.2",
"tqdm<5.0.0,>=4.63.0",
"tortoise-orm>=0.19.3",
"typer<1.0.0,>=0.4.0",
Expand All @@ -21,9 +21,6 @@ dependencies = [
]
requires-python = ">=3.12,<3.13"

[project.urls]
homepage = ""

[tool.ruff]
lint = { select = ["I"] }
line-length = 100
Expand Down
Loading

0 comments on commit 5ab6051

Please sign in to comment.