Merge pull request #1 from lukaskwkw/chore/update-readme-build

Add pre build step
This commit is contained in:
Łukasz Kwiecień 2024-03-11 11:18:20 +01:00 committed by GitHub
commit dde206facd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,20 @@ This API server enables audio transcription using the OpenAI Whisper models.
# Build from source
Before build make sure that **CGO_ENABLED** env is set to **1**
```
set CGO_ENABLED 1
```
or preferable set it parament. Then check it via
```
go env
```
Also you have to have installed gcc x64 i.e. by MYSYS
Download the sources and use `go build`.
For example, you can build using the following command: