Skip to content

Commit

Permalink
change language to auto
Browse files Browse the repository at this point in the history
  • Loading branch information
litongjava committed Mar 10, 2024
1 parent a8f2eda commit 81c3deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions distribute/docker/base.en/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
```shell
docker build -t litongjava/whisper-cpp-server:1.0.0-base-en -f distribute/docker/base.en/Dockerfile .
```

```
docker run --net=host --rm litongjava/whisper-cpp-server:1.0.0-base-en
```
2 changes: 1 addition & 1 deletion params/whisper_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct whisper_params {
bool log_score = false;
bool use_gpu = true;

std::string language = "en";
std::string language = "auto";
std::string prompt = "";
std::string font_path = "/System/Library/Fonts/Supplemental/Courier New Bold.ttf";
std::string model = "../models/ggml-base.en.bin";
Expand Down

0 comments on commit 81c3deb

Please sign in to comment.