Skip to content

Commit 905c7ca

Browse files
committed
fix
1 parent 10b8188 commit 905c7ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const sentencePiece = require('./vendor/sentencepiece')
22

33
class Toxe {
4-
constructor (modelPath, config) {
4+
constructor (modelPath, config = {}) {
55
this.config = config
66
this.modelPath = modelPath
77
this.spp = new sentencePiece.SentencePieceProcessor()

0 commit comments

Comments
 (0)