This library provides functions to send files to ONNX servers:
- sherpa-onnx-online-websocket-server
- sherpa-onnx-offline-websocket-server
- banafo python API script
To install the ONNX Go library, run:
go get github.com/maxnzv/onnx-go
Import the library:
import onnxgo "github.com/maxnzv/onnx-go"
Use the library to send files to a server:
err := onnxgo.SendOfflineWS("server_url", "file_path", "")
if err != nil {
log.Fatal(err)
}