Skip to content
Snippets Groups Projects
Commit 81ade6f6 authored by Ahmet Öner's avatar Ahmet Öner
Browse files

Update Readme.md

parent 0f13c4db
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,6 @@ Current release (v1.1.0) supports following whisper models: ...@@ -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) - [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) - [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 ## Usage
...@@ -22,13 +21,13 @@ Docker Hub: <https://hub.docker.com/r/onerahmet/openai-whisper-asr-webservice> ...@@ -22,13 +21,13 @@ Docker Hub: <https://hub.docker.com/r/onerahmet/openai-whisper-asr-webservice>
For CPU: For CPU:
```sh ```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: For GPU:
```sh ```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): For MacOS (CPU only):
...@@ -38,7 +37,7 @@ GPU passthrough does not work on macOS due to fundamental design limitations of ...@@ -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: The `:latest` image tag provides both amd64 and arm64 architectures:
```sh ```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 ```sh
...@@ -133,6 +132,16 @@ Build .whl package ...@@ -133,6 +132,16 @@ Build .whl package
poetry build poetry build
``` ```
Configuring the ASR Engine
```sh
export ASR_ENGINE=openai_whisper
```
or
```sh
export ASR_ENGINE=faster_whisper
```
Configuring the Model Configuring the Model
```sh ```sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment