update readme
This commit is contained in:
parent
8c70d9150d
commit
aa93d79b38
17
README.md
17
README.md
|
@ -6,10 +6,17 @@ This API server enables audio transcription using the OpenAI Whisper models.
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
|
|
||||||
- Download the desired model from [huggingface](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
|
- Download `.exe` from [Releases](https://github.com/xzeldon/whisper-api-server/releases/latest)
|
||||||
- Update the model path in the `main.go` file
|
- Just run it!
|
||||||
- Download `Whisper.dll` from [github](https://github.com/Const-me/Whisper/releases/tag/1.12.0) (`Library.zip`) and place it in the project's root directory
|
|
||||||
- Build project: `go build .` (you only need go compiler, without gcc)
|
# Build from source
|
||||||
|
|
||||||
|
Download the sources and use `go build`.
|
||||||
|
For example, you can build using the following command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
go build -ldflags "-s -w" -o server.exe main.go
|
||||||
|
```
|
||||||
|
|
||||||
# Usage example
|
# Usage example
|
||||||
|
|
||||||
|
@ -35,6 +42,8 @@ Receive a response in JSON format:
|
||||||
- [x] Implement automatic `Whisper.dll` downloading from [Guthub releases](https://github.com/Const-me/Whisper/releases)
|
- [x] Implement automatic `Whisper.dll` downloading from [Guthub releases](https://github.com/Const-me/Whisper/releases)
|
||||||
- [x] Provide prebuilt binaries for Windows
|
- [x] Provide prebuilt binaries for Windows
|
||||||
- [ ] Include instructions for running on Linux with Wine (likely possible).
|
- [ ] Include instructions for running on Linux with Wine (likely possible).
|
||||||
|
- [ ] Provide custom model path using flags
|
||||||
|
- [ ] Use flags to override the model type
|
||||||
|
|
||||||
# Credits
|
# Credits
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue