Skip to content

Commit

Permalink
go package correction
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Nov 30, 2023
1 parent 5905c35 commit 326d70e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,13 +479,13 @@ Replace `${ACCESS_KEY}` with your `AccessKey` obtained from [Picovoice Console](
Install the Go binding:

```console
go get github.com/Picovoice/leopard/binding/go
go get github.com/Picovoice/leopard/binding/go/v2
```

Create an instance of the engine and transcribe an audio file:

```go
import . "github.com/Picovoice/leopard/binding/go"
import . "github.com/Picovoice/leopard/binding/go/v2"

leopard = Leopard{AccessKey: "${ACCESS_KEY}"}
err := leopard.Init()
Expand Down
2 changes: 1 addition & 1 deletion binding/go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Leopard is an on-device speech-to-text engine. Leopard is:
## Installation

```console
go get github.com/Picovoice/leopard/binding/go
go get github.com/Picovoice/leopard/binding/go/v2
```

## AccessKey
Expand Down

0 comments on commit 326d70e

Please sign in to comment.