Skip to content

Commit

Permalink
Install openai-whisper from pypi instead of github
Browse files Browse the repository at this point in the history
  • Loading branch information
AliOsm committed Jun 26, 2024
1 parent 895bff4 commit 82ff165
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04
FROM --platform=linux/amd64 mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@
<li>قم بتنفيذ الأمر التالي لتثبيت تفريغ: <code dir="ltr">poetry install</code></li>
</ul>

أضف <code dir="ltr">-E wit</code> أو <code dir="ltr">-E whisper</code> لتحديد الاعتماديات المراد تثبيتها.

<h2 dir="rtl">استخدام تفريغ</h2>

<h3 dir="rtl">الخيارات المتوفرة</h3>
Expand Down
15 changes: 5 additions & 10 deletions poetry.lock

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

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "tafrigh"
version = "1.2.0"
version = "1.2.1"
description = "تفريغ النصوص وإنشاء ملفات SRT و VTT باستخدام نماذج Whisper وتقنية wit.ai."
authors = ["EasyBooks <[email protected]>"]
license = "MIT"
Expand All @@ -25,12 +25,12 @@ repository = "https://github.com/ieasybooks/tafrigh"
python = ">=3.11, <3.12"
tqdm = ">=4.66.4"
yt-dlp = ">=2024.4.9"
auditok = {version = ">=0.2.0"}
pydub = {version = ">=0.25.1"}
requests = {version = ">=2.32.0"}
faster-whisper = {version = ">=1.0.2"}
openai-whisper = {git = "https://github.com/openai/whisper.git"}
stable-ts = {version = ">=2.17.2"}
auditok = ">=0.2.0"
pydub = ">=0.25.1"
requests = ">=2.32.0"
faster-whisper = ">=1.0.2"
stable-ts = ">=2.17.2"
openai-whisper = ">=20231117"

[tool.poetry.extras]
wit = ["auditok", "pydub", "requests"]
Expand Down

0 comments on commit 82ff165

Please sign in to comment.