Skip to content

mybigday/bark.rn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bark.rn

Bark.cpp integration for React Native

Installation

npm install bark.rn

Usage

import BarkContext from 'bark.rn';

// Load model
const ctx = await BarkContext.load('path/to/model.bin');

// Inference
const result = await ctx.generate('Hello, world!', 'path/to/output.wav');
// Result: { success: boolean, load_time: number, eval_time: number }

// Release context
await ctx.release();

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library