Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
whisper-asr-webservice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Schwertgen
whisper-asr-webservice
Commits
81ade6f6
Commit
81ade6f6
authored
2 years ago
by
Ahmet Öner
Browse files
Options
Downloads
Patches
Plain Diff
Update Readme.md
parent
0f13c4db
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+13
-4
13 additions, 4 deletions
README.md
with
13 additions
and
4 deletions
README.md
+
13
−
4
View file @
81ade6f6
...
...
@@ -11,7 +11,6 @@ Current release (v1.1.0) supports following whisper models:
-
[
openai/whisper
](
https://github.com/openai/whisper
)
@
[
v20230124
](
https://github.com/openai/whisper/releases/tag/v20230124
)
-
[
faster-whisper
](
https://github.com/guillaumekln/faster-whisper
)
@
[
0.4.1
](
https://github.com/guillaumekln/faster-whisper/releases/tag/v0.4.1
)
-
[
whisper.cpp
](
https://github.com/ggerganov/whisper.cpp
)
(
Coming
soon)
## Usage
...
...
@@ -22,13 +21,13 @@ Docker Hub: <https://hub.docker.com/r/onerahmet/openai-whisper-asr-webservice>
For CPU:
```
sh
docker run
-d
-p
9000:9000
-e
ASR_MODEL
=
base onerahmet/openai-whisper-asr-webservice:latest
docker run
-d
-p
9000:9000
-e
ASR_MODEL
=
base
-e
ASR_ENGINE
=
openai_whisper
onerahmet/openai-whisper-asr-webservice:latest
```
For GPU:
```
sh
docker run
-d
--gpus
all
-p
9000:9000
-e
ASR_MODEL
=
base onerahmet/openai-whisper-asr-webservice:latest-gpu
docker run
-d
--gpus
all
-p
9000:9000
-e
ASR_MODEL
=
base
-e
ASR_ENGINE
=
openai_whisper
onerahmet/openai-whisper-asr-webservice:latest-gpu
```
For MacOS (CPU only):
...
...
@@ -38,7 +37,7 @@ GPU passthrough does not work on macOS due to fundamental design limitations of
The
`:latest`
image tag provides both amd64 and arm64 architectures:
```
sh
docker run
-d
-p
9000:9000
-e
ASR_MODEL
=
base onerahmet/openai-whisper-asr-webservice:latest
docker run
-d
-p
9000:9000
-e
ASR_MODEL
=
base
-e
ASR_ENGINE
=
openai_whisper
onerahmet/openai-whisper-asr-webservice:latest
```
```
sh
...
...
@@ -133,6 +132,16 @@ Build .whl package
poetry build
```
Configuring the ASR Engine
```
sh
export
ASR_ENGINE
=
openai_whisper
```
or
```
sh
export
ASR_ENGINE
=
faster_whisper
```
Configuring the Model
```
sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment