Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hironsan committed Oct 12, 2022
1 parent c26eb8e commit 6933ad6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
4 changes: 2 additions & 2 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ This feature is integrated with [spacy-partial-tagger](https://github.com/doccan

## Automatic Speech Recognition

To use this feature, you need to install doccano-client as follows:
To use this feature, you need to install whisper as follows:

```bash
pip install doccano-client[whisper]
pip install git+https://github.com/openai/whisper.git
```

In this feature, you can annotate audio file with OpenAI [Whisper](https://github.com/openai/whisper). For a list of available models, please see the official repository.
Expand Down
23 changes: 2 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ spacy-partial-tagger = { version = "^0.9.1", optional = true }
tqdm = { version = "^4.64.1", optional = true }
pydantic = "^1.9.2"
requests-toolbelt = "^0.9.1"
whisper = {git = "https://github.com/openai/whisper.git", rev = "main", extras = ["whisper"]}
ffmpeg-python = {version = "^0.2.0", extras = ["whisper"]}

[tool.poetry.dev-dependencies]
Expand All @@ -48,7 +47,7 @@ mkdocstrings = {extras = ["python", "crystal"], version = "^0.19.0"}

[tool.poetry.extras]
spacy = ["spacy", "spacy-partial-tagger", "tqdm"]
whisper = ["whisper", "ffmpeg-python", "tqdm"]
whisper = ["ffmpeg-python", "tqdm"]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 6933ad6

Please sign in to comment.