Merge pull request #511 from viniciusarruda/patch-1
Update llama_cpp.py - Fix c_char_p to Array[c_char_p] and c_float to …
This commit is contained in:
commit
a9cb645495
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ def llama_get_vocab(
|
|||
return _lib.llama_get_vocab(ctx, strings, scores, capacity)
|
||||
|
||||
|
||||
_lib.llama_get_vocab.argtypes = [llama_context_p, c_char_p, c_float, c_int]
|
||||
_lib.llama_get_vocab.argtypes = [llama_context_p, Array[c_char_p], Array[c_float], c_int]
|
||||
_lib.llama_get_vocab.restype = c_int
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue