Categorygithub.com/maxnzv/onnx-go
repositorypackage
0.0.0-20240924120920-da23aa803cf1
Repository: https://github.com/maxnzv/onnx-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

ONNX Go library

This library provides functions to send files to ONNX servers:

  • sherpa-onnx-online-websocket-server
  • sherpa-onnx-offline-websocket-server
  • banafo python API script

Installation

To install the ONNX Go library, run:

go get github.com/maxnzv/onnx-go

Usage

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)
}